Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001292/0.001292, allocations: 108.7 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.474/1.474, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.687/2.687, allocations: 443.5 MB / 0.7287 GB, free: 13.25 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Controls_OBC_UnitConversions_Validation_From_gal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_gal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002096/0.002096, allocations: 63.89 kB / 1.056 GB, free: 5.859 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9298/0.9319, allocations: 160.7 MB / 1.213 GB, free: 3.855 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.002568/0.9345, allocations: 0.8325 MB / 1.214 GB, free: 3.223 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0001543/0.9346, allocations: 44.12 kB / 1.214 GB, free: 3.184 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.523e-05/0.9347, allocations: 1.812 kB / 1.214 GB, free: 3.184 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.418e-05/0.9348, allocations: 11.88 kB / 1.214 GB, free: 3.172 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 9.132e-05/0.9348, allocations: 9.438 kB / 1.214 GB, free: 3.164 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 5.536e-05/0.9349, allocations: 19.22 kB / 1.214 GB, free: 3.148 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001151/0.935, allocations: 63.16 kB / 1.214 GB, free: 3.109 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.9351, allocations: 33.48 kB / 1.214 GB, free: 3.086 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 5.743e-05/0.9352, allocations: 28.2 kB / 1.214 GB, free: 3.066 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.647e-05/0.9353, allocations: 23.95 kB / 1.214 GB, free: 3.047 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.808e-05/0.9353, allocations: 6.25 kB / 1.214 GB, free: 3.047 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 9.238e-06/0.9353, allocations: 6.562 kB / 1.214 GB, free: 3.047 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.679e-05/0.9353, allocations: 22.08 kB / 1.214 GB, free: 3.027 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.237e-05/0.9353, allocations: 34.56 kB / 1.214 GB, free: 3 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001248/0.9355, allocations: 75.64 kB / 1.214 GB, free: 2.941 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.9355, allocations: 0 / 1.214 GB, free: 2.941 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.443e-06/0.9355, allocations: 0 / 1.214 GB, free: 2.941 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.037e-05/0.9355, allocations: 1.125 kB / 1.214 GB, free: 2.941 MB / 0.92 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.0005064/0.936, allocations: 377.8 kB / 1.214 GB, free: 2.543 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.936, allocations: 9.938 kB / 1.214 GB, free: 2.543 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.637e-05/0.9361, allocations: 49.89 kB / 1.215 GB, free: 2.488 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.924e-05/0.9361, allocations: 17.19 kB / 1.215 GB, free: 2.477 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002345/0.9364, allocations: 202.3 kB / 1.215 GB, free: 2.25 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.491e-05/0.9364, allocations: 2.938 kB / 1.215 GB, free: 2.25 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.911e-05/0.9364, allocations: 10.03 kB / 1.215 GB, free: 2.246 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001695/0.9366, allocations: 96.17 kB / 1.215 GB, free: 2.168 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.9366, allocations: 7.875 kB / 1.215 GB, free: 2.16 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.9366, allocations: 5.188 kB / 1.215 GB, free: 2.156 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.839e-06/0.9366, allocations: 2.219 kB / 1.215 GB, free: 2.156 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.8e-05/0.9367, allocations: 35.36 kB / 1.215 GB, free: 2.141 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005854/0.9373, allocations: 437 kB / 1.215 GB, free: 1.703 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 7.345e-05/0.9373, allocations: 41.22 kB / 1.215 GB, free: 1.648 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.744e-05/0.9374, allocations: 15.19 kB / 1.215 GB, free: 1.633 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.396e-05/0.9374, allocations: 7.984 kB / 1.215 GB, free: 1.625 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.317e-05/0.9374, allocations: 39.59 kB / 1.215 GB, free: 1.578 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.9374, allocations: 1.125 kB / 1.215 GB, free: 1.578 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0002089/0.9376, allocations: 50.25 kB / 1.215 GB, free: 1.535 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.331e-05/0.9377, allocations: 82.08 kB / 1.216 GB, free: 1.438 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001981/0.9379, allocations: 156.7 kB / 1.216 GB, free: 1.312 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.705e-05/0.9379, allocations: 34.89 kB / 1.216 GB, free: 1.273 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 8.517e-05/0.938, allocations: 103.7 kB / 1.216 GB, free: 1.172 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.053e-05/0.938, allocations: 5.391 kB / 1.216 GB, free: 1.168 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.868e-05/0.9381, allocations: 17 kB / 1.216 GB, free: 1.148 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.9382, allocations: 321 kB / 1.216 GB, free: 0.8281 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.856e-05/0.9382, allocations: 3.344 kB / 1.216 GB, free: 0.8281 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.973e-05/0.9383, allocations: 22.67 kB / 1.216 GB, free: 0.8047 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.575e-05/0.9383, allocations: 26.12 kB / 1.216 GB, free: 0.7812 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.9383, allocations: 5.219 kB / 1.216 GB, free: 0.7773 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001002/0.9384, allocations: 58.7 kB / 1.216 GB, free: 0.7305 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/0.9384, allocations: 9.031 kB / 1.216 GB, free: 0.7266 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.9384, allocations: 5.047 kB / 1.216 GB, free: 0.7227 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.9385, allocations: 1.125 kB / 1.216 GB, free: 0.7227 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.198e-05/0.9385, allocations: 9.438 kB / 1.216 GB, free: 0.7188 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.318e-06/0.9385, allocations: 3.938 kB / 1.216 GB, free: 0.7148 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.396e-05/0.9386, allocations: 11.25 kB / 1.216 GB, free: 0.707 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.09e-06/0.9386, allocations: 0.875 kB / 1.216 GB, free: 0.707 MB / 0.92 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 9.69e-05/0.9387, allocations: 112.9 kB / 1.216 GB, free: 0.5898 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.705e-05/0.9387, allocations: 12.08 kB / 1.216 GB, free: 0.582 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.601e-05/0.9388, allocations: 15.17 kB / 1.216 GB, free: 0.5625 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.9388, allocations: 0.9688 kB / 1.216 GB, free: 0.5625 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.9388, allocations: 4.875 kB / 1.216 GB, free: 0.5586 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.209e-06/0.9388, allocations: 4 kB / 1.216 GB, free: 0.5547 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004367/0.9392, allocations: 474.8 kB / 1.217 GB, free: 52 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.9392, allocations: 0 / 1.217 GB, free: 52 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.979e-05/0.9392, allocations: 3.312 kB / 1.217 GB, free: 52 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.9392, allocations: 0.9688 kB / 1.217 GB, free: 52 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.46e-06/0.9392, allocations: 1.062 kB / 1.217 GB, free: 52 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.9392, allocations: 1.219 kB / 1.217 GB, free: 52 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.9392, allocations: 0 / 1.217 GB, free: 52 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000124/0.9394, allocations: 90.16 kB / 1.217 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.295e-05/0.9394, allocations: 84.41 kB / 1.217 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.641e-05/0.9394, allocations: 5.078 kB / 1.217 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.991e-05/0.9395, allocations: 1.125 kB / 1.217 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.208e-05/0.9395, allocations: 5.094 kB / 1.217 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-06/0.9395, allocations: 1.188 kB / 1.217 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001016/0.9396, allocations: 123.3 kB / 1.217 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.9396, allocations: 0 / 1.217 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001926/0.9398, allocations: 7.312 kB / 1.217 GB, free: 15.75 MB / 0.9356 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.0004394/0.9402, allocations: 0.6116 MB / 1.218 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 8.638e-05/0.9403, allocations: 21.75 kB / 1.218 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.9403, allocations: 1.156 kB / 1.218 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.508e-06/0.9403, allocations: 3.469 kB / 1.218 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001571/0.9405, allocations: 15.53 kB / 1.218 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001355/0.9418, allocations: 1.336 MB / 1.219 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003169/0.9421, allocations: 0.695 MB / 1.22 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.052e-05/0.9422, allocations: 5.031 kB / 1.22 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.613e-05/0.9422, allocations: 22.58 kB / 1.22 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of SimCode: time 4.9e-07/0.9422, allocations: 5.062 kB / 1.22 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02528/0.9675, allocations: 1.592 MB / 1.221 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.947/8.914, allocations: 9.859 kB / 1.221 GB, free: 12.26 MB / 0.9356 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_gal_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_gal.fmu > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_gal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.061469251755625]