Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_quad,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_quad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_quad,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_quad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004872/0.004872, allocations: 99.59 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001386/0.001386, allocations: 195.3 kB / 16.68 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.282/1.282, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.641/2.641, allocations: 482.6 MB / 0.7551 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001809/0.001809, allocations: 72.09 kB / 1.083 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2889/0.2908, allocations: 162.3 MB / 1.242 GB, free: 9.836 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.002249/0.293, allocations: 0.824 MB / 1.243 GB, free: 9.012 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001225/0.2932, allocations: 43.78 kB / 1.243 GB, free: 8.969 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.076e-05/0.2932, allocations: 0 / 1.243 GB, free: 8.969 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.814e-05/0.2933, allocations: 3.938 kB / 1.243 GB, free: 8.965 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.389e-05/0.2934, allocations: 11.86 kB / 1.243 GB, free: 8.953 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 4.721e-05/0.2934, allocations: 19.98 kB / 1.243 GB, free: 8.934 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001077/0.2936, allocations: 59.84 kB / 1.243 GB, free: 8.875 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001455/0.2937, allocations: 43.91 kB / 1.243 GB, free: 8.832 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.856e-05/0.2938, allocations: 27.86 kB / 1.243 GB, free: 8.805 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.222e-05/0.2938, allocations: 31.78 kB / 1.243 GB, free: 8.773 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.846e-05/0.2939, allocations: 8 kB / 1.243 GB, free: 8.766 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.438e-06/0.2939, allocations: 4 kB / 1.243 GB, free: 8.762 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.603e-05/0.2939, allocations: 19.92 kB / 1.243 GB, free: 8.742 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.969e-05/0.294, allocations: 35.73 kB / 1.243 GB, free: 8.707 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000121/0.2941, allocations: 79.58 kB / 1.243 GB, free: 8.629 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.2941, allocations: 0 / 1.243 GB, free: 8.629 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.152e-06/0.2941, allocations: 0 / 1.243 GB, free: 8.629 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.728e-06/0.2941, allocations: 0 / 1.243 GB, free: 8.629 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004399/0.2946, allocations: 383.1 kB / 1.243 GB, free: 8.203 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.2946, allocations: 8.031 kB / 1.243 GB, free: 8.195 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.613e-05/0.2946, allocations: 42.73 kB / 1.243 GB, free: 8.145 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.655e-05/0.2947, allocations: 8.891 kB / 1.243 GB, free: 8.137 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002087/0.2949, allocations: 196.2 kB / 1.244 GB, free: 7.906 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/0.2949, allocations: 8.375 kB / 1.244 GB, free: 7.898 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.234e-05/0.2949, allocations: 8.375 kB / 1.244 GB, free: 7.891 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001559/0.2951, allocations: 89.36 kB / 1.244 GB, free: 7.793 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.2951, allocations: 3.938 kB / 1.244 GB, free: 7.789 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.2951, allocations: 0 / 1.244 GB, free: 7.789 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.2951, allocations: 4 kB / 1.244 GB, free: 7.785 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.776e-05/0.2952, allocations: 39.92 kB / 1.244 GB, free: 7.746 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005751/0.2958, allocations: 436.7 kB / 1.244 GB, free: 7.266 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.098e-05/0.2959, allocations: 45.23 kB / 1.244 GB, free: 7.203 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.57e-05/0.2959, allocations: 17.78 kB / 1.244 GB, free: 7.18 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.803e-06/0.2959, allocations: 0 / 1.244 GB, free: 7.18 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.919e-05/0.296, allocations: 38.56 kB / 1.244 GB, free: 7.133 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 8.71e-07/0.296, allocations: 0 / 1.244 GB, free: 7.133 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0001634/0.2961, allocations: 53.53 kB / 1.244 GB, free: 7.074 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.418e-05/0.2962, allocations: 81.09 kB / 1.244 GB, free: 6.977 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001591/0.2964, allocations: 160.8 kB / 1.245 GB, free: 6.812 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.578e-05/0.2964, allocations: 25.7 kB / 1.245 GB, free: 6.781 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.809e-05/0.2965, allocations: 104.3 kB / 1.245 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.215e-05/0.2965, allocations: 11.94 kB / 1.245 GB, free: 6.664 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.521e-05/0.2965, allocations: 21.7 kB / 1.245 GB, free: 6.637 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.2967, allocations: 314.8 kB / 1.245 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.399e-05/0.2967, allocations: 7.984 kB / 1.245 GB, free: 6.312 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.647e-05/0.2967, allocations: 29.59 kB / 1.245 GB, free: 6.277 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.48e-05/0.2968, allocations: 29.72 kB / 1.245 GB, free: 6.242 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.2968, allocations: 0 / 1.245 GB, free: 6.242 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.686e-05/0.2969, allocations: 61.58 kB / 1.245 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.2969, allocations: 11.88 kB / 1.245 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.2969, allocations: 0 / 1.245 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.297, allocations: 4 kB / 1.245 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.916e-05/0.297, allocations: 4 kB / 1.245 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.297, allocations: 3.984 kB / 1.245 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.38e-05/0.2971, allocations: 11.89 kB / 1.245 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.626e-06/0.2971, allocations: 4.062 kB / 1.245 GB, free: 6.137 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.157e-05/0.2972, allocations: 113.8 kB / 1.245 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.631e-05/0.2972, allocations: 15.88 kB / 1.245 GB, free: 6 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.123e-05/0.2973, allocations: 11.88 kB / 1.245 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.2973, allocations: 0 / 1.245 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.2973, allocations: 0 / 1.245 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.2973, allocations: 0 / 1.245 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004372/0.2977, allocations: 478.7 kB / 1.246 GB, free: 5.453 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.2977, allocations: 96 / 1.246 GB, free: 5.453 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.269e-05/0.2977, allocations: 7.938 kB / 1.246 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.2978, allocations: 3.984 kB / 1.246 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-06/0.2978, allocations: 4 kB / 1.246 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.2978, allocations: 3.984 kB / 1.246 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2978, allocations: 0 / 1.246 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.666e-05/0.2979, allocations: 77.95 kB / 1.246 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.771e-05/0.2979, allocations: 93.05 kB / 1.246 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.182e-05/0.298, allocations: 0 / 1.246 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.854e-05/0.298, allocations: 0 / 1.246 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.317e-05/0.298, allocations: 4 kB / 1.246 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-06/0.298, allocations: 0 / 1.246 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 9.494e-05/0.2981, allocations: 122.1 kB / 1.246 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2981, allocations: 0 / 1.246 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001825/0.2983, allocations: 8.031 kB / 1.246 GB, free: 5.098 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004228/0.2987, allocations: 0.6176 MB / 1.247 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 7.744e-05/0.2988, allocations: 19.94 kB / 1.247 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.2988, allocations: 4.156 kB / 1.247 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.317e-05/0.2989, allocations: 11.92 kB / 1.247 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000152/0.299, allocations: 8 kB / 1.247 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001263/0.3003, allocations: 1.335 MB / 1.248 GB, free: 2.973 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003339/0.3006, allocations: 0.6924 MB / 1.249 GB, free: 2.254 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.312e-05/0.3007, allocations: 8.422 kB / 1.249 GB, free: 2.246 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.491e-05/0.3007, allocations: 27.38 kB / 1.249 GB, free: 2.219 MB / 0.9981 GB Notification: Performance of SimCode: time 2.21e-07/0.3007, allocations: 0 / 1.249 GB, free: 2.219 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.043/1.344, allocations: 1.579 MB / 1.25 GB, free: 0.7461 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.34/11.68, allocations: 2.375 kB / 1.25 GB, free: 0.7461 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_quad_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_quad.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_quad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches