Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.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 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_gal,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_gal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_gal",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.001131/0.001131, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001345/0.001345, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.427/1.427, allocations: 223.2 MB / 239.9 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.387/2.387, allocations: 390.3 MB / 0.6653 GB, free: 2.965 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003449/0.0003452, allocations: 8 kB / 0.8146 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8039/0.8042, allocations: 142.3 MB / 0.9536 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.001012/0.8053, allocations: 0.5142 MB / 0.9541 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001364/0.8055, allocations: 45.53 kB / 0.9541 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.282e-05/0.8055, allocations: 0.75 kB / 0.9541 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.691e-05/0.8056, allocations: 3.938 kB / 0.9541 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.038e-05/0.8057, allocations: 13.52 kB / 0.9542 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.084e-05/0.8057, allocations: 7.75 kB / 0.9542 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.578e-05/0.8058, allocations: 39.92 kB / 0.9542 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001383/0.806, allocations: 30.75 kB / 0.9542 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.837e-05/0.806, allocations: 15.94 kB / 0.9542 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.85e-05/0.8061, allocations: 20.27 kB / 0.9543 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.546e-05/0.8061, allocations: 6.812 kB / 0.9543 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.075e-06/0.8061, allocations: 1.406 kB / 0.9543 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.492e-05/0.8061, allocations: 13.31 kB / 0.9543 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.396e-05/0.8062, allocations: 33.61 kB / 0.9543 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.083e-05/0.8062, allocations: 48.42 kB / 0.9544 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.8063, allocations: 0 / 0.9544 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.655e-06/0.8063, allocations: 0 / 0.9544 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.8063, allocations: 5.188 kB / 0.9544 GB, free: 7.449 MB / 0.7169 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.0003429/0.8066, allocations: 361.6 kB / 0.9547 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.224e-05/0.8067, allocations: 13.69 kB / 0.9547 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.093e-05/0.8067, allocations: 40.92 kB / 0.9548 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.672e-05/0.8068, allocations: 20.48 kB / 0.9548 GB, free: 7 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001915/0.807, allocations: 181.4 kB / 0.955 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.807, allocations: 6.5 kB / 0.955 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.379e-05/0.807, allocations: 4.594 kB / 0.955 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001585/0.8072, allocations: 96.78 kB / 0.9551 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.8072, allocations: 5.641 kB / 0.9551 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.8072, allocations: 8 kB / 0.9551 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.8072, allocations: 2.656 kB / 0.9551 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.114e-05/0.8073, allocations: 38.59 kB / 0.9551 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005045/0.8078, allocations: 434 kB / 0.9555 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.961e-05/0.8079, allocations: 41 kB / 0.9556 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.097e-05/0.8079, allocations: 12.78 kB / 0.9556 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.95e-05/0.8079, allocations: 31.47 kB / 0.9556 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.563e-06/0.8079, allocations: 0 / 0.9556 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001798/0.8081, allocations: 56.19 kB / 0.9557 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.84e-05/0.8082, allocations: 85.36 kB / 0.9557 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001517/0.8083, allocations: 159.2 kB / 0.9559 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.558e-06/0.8083, allocations: 26.92 kB / 0.9559 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.267e-05/0.8084, allocations: 107.8 kB / 0.956 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 9.047e-06/0.8084, allocations: 9.156 kB / 0.956 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.625e-06/0.8084, allocations: 0 / 0.956 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.486e-05/0.8085, allocations: 325.4 kB / 0.9563 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.531e-05/0.8085, allocations: 3.25 kB / 0.9563 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.001e-05/0.8085, allocations: 21.88 kB / 0.9564 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.578e-05/0.8085, allocations: 9.375 kB / 0.9564 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.8086, allocations: 0 / 0.9564 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.081e-05/0.8086, allocations: 58.66 kB / 0.9564 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.8087, allocations: 5.406 kB / 0.9564 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.8087, allocations: 0 / 0.9564 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.8087, allocations: 1.062 kB / 0.9564 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.431e-05/0.8088, allocations: 10.22 kB / 0.9565 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.8088, allocations: 4.062 kB / 0.9565 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.321e-05/0.8088, allocations: 2.875 kB / 0.9565 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/0.8088, allocations: 0.9375 kB / 0.9565 GB, free: 5.309 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.198e-05/0.8089, allocations: 126.7 kB / 0.9566 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.389e-05/0.8089, allocations: 7.719 kB / 0.9566 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.673e-05/0.809, allocations: 6.594 kB / 0.9566 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.809, allocations: 1.469 kB / 0.9566 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.809, allocations: 0 / 0.9566 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.809, allocations: 1.25 kB / 0.9566 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002804/0.8093, allocations: 477.6 kB / 0.9571 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/0.8093, allocations: 1.219 kB / 0.9571 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.142e-05/0.8093, allocations: 6.547 kB / 0.9571 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.8093, allocations: 1.188 kB / 0.9571 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-06/0.8093, allocations: 1.125 kB / 0.9571 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.8093, allocations: 1.281 kB / 0.9571 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.8094, allocations: 3.938 kB / 0.9571 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.169e-05/0.8095, allocations: 92.05 kB / 0.9572 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.818e-05/0.8095, allocations: 88.09 kB / 0.9572 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.19e-05/0.8095, allocations: 5.438 kB / 0.9572 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.212e-05/0.8096, allocations: 1.031 kB / 0.9572 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.347e-05/0.8096, allocations: 5.359 kB / 0.9572 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.624e-06/0.8096, allocations: 8.031 kB / 0.9573 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.542e-05/0.8097, allocations: 127.7 kB / 0.9574 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8097, allocations: 0.75 kB / 0.9574 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002025/0.8099, allocations: 10.75 kB / 0.9574 GB, free: 4.328 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002946/0.8102, allocations: 0.6904 MB / 0.9581 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.477e-05/0.8103, allocations: 18.47 kB / 0.9581 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.8103, allocations: 0 / 0.9581 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.118e-05/0.8103, allocations: 7.516 kB / 0.9581 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001152/0.8104, allocations: 11.2 kB / 0.9581 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007727/0.8112, allocations: 0.6936 MB / 0.9588 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001173/0.8113, allocations: 0.6998 MB / 0.9595 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.454e-05/0.8114, allocations: 8.828 kB / 0.9595 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.293e-05/0.8114, allocations: 26.92 kB / 0.9595 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of SimCode: time 2.41e-07/0.8114, allocations: 0 / 0.9595 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01232/0.8237, allocations: 1.462 MB / 0.9609 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001524/0.8239, allocations: 193.3 kB / 0.9611 GB, free: 1.352 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.618/2.442, allocations: 3.938 kB / 0.9611 GB, free: 1.348 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_gal_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_gal.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_res.mat does not exist to compare? outputFormat=mat