Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.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.001164/0.001164, allocations: 112.1 kB / 17.54 MB, free: 4.738 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.001144/0.001144, allocations: 186.7 kB / 20.71 MB, free: 1.586 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.29/1.29, allocations: 225.6 MB / 249.3 MB, free: 3.156 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.506/2.506, allocations: 476.7 MB / 0.7628 GB, free: 15.12 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_bar,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_bar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_bar",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001885/0.001885, allocations: 63.89 kB / 1.107 GB, free: 5.109 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7734/0.7753, allocations: 168.7 MB / 1.271 GB, free: 7.691 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.00164/0.7769, allocations: 0.8419 MB / 1.272 GB, free: 7.16 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 8.741e-05/0.777, allocations: 41.56 kB / 1.272 GB, free: 7.129 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.485e-05/0.7771, allocations: 1.312 kB / 1.272 GB, free: 7.129 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.359e-05/0.7771, allocations: 9.656 kB / 1.272 GB, free: 7.121 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.578e-05/0.7772, allocations: 10.31 kB / 1.272 GB, free: 7.113 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 3.996e-05/0.7772, allocations: 20.41 kB / 1.272 GB, free: 7.102 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.686e-05/0.7773, allocations: 59.41 kB / 1.272 GB, free: 7.074 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.7774, allocations: 39.59 kB / 1.272 GB, free: 7.051 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.019e-05/0.7775, allocations: 22.22 kB / 1.272 GB, free: 7.039 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.913e-05/0.7775, allocations: 34.77 kB / 1.272 GB, free: 7.016 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.733e-05/0.7775, allocations: 10.33 kB / 1.272 GB, free: 7.012 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.426e-05/0.7775, allocations: 5.969 kB / 1.272 GB, free: 7.012 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.611e-05/0.7776, allocations: 12.44 kB / 1.272 GB, free: 7.004 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.461e-05/0.7776, allocations: 32.61 kB / 1.273 GB, free: 6.98 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001028/0.7777, allocations: 77.31 kB / 1.273 GB, free: 6.945 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.7777, allocations: 3.938 kB / 1.273 GB, free: 6.941 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.412e-06/0.7777, allocations: 0.875 kB / 1.273 GB, free: 6.941 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.707e-06/0.7777, allocations: 3.938 kB / 1.273 GB, free: 6.938 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.0002986/0.778, allocations: 381.1 kB / 1.273 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.778, allocations: 9.375 kB / 1.273 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.853e-05/0.7781, allocations: 39.12 kB / 1.273 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.435e-05/0.7781, allocations: 18.03 kB / 1.273 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001277/0.7782, allocations: 200.8 kB / 1.273 GB, free: 6.273 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.7782, allocations: 7.219 kB / 1.273 GB, free: 6.27 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.101e-05/0.7782, allocations: 5.562 kB / 1.273 GB, free: 6.27 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001263/0.7784, allocations: 92.3 kB / 1.273 GB, free: 6.203 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.7784, allocations: 8.688 kB / 1.273 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.7784, allocations: 1.578 kB / 1.273 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.7784, allocations: 1.656 kB / 1.273 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.182e-05/0.7785, allocations: 40.33 kB / 1.273 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003817/0.7788, allocations: 434.2 kB / 1.274 GB, free: 5.777 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.823e-05/0.7789, allocations: 45.83 kB / 1.274 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.801e-05/0.7789, allocations: 19.67 kB / 1.274 GB, free: 5.699 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.891e-06/0.7789, allocations: 0.7812 kB / 1.274 GB, free: 5.699 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.415e-05/0.7789, allocations: 31.86 kB / 1.274 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.333e-06/0.7789, allocations: 0.7812 kB / 1.274 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0001373/0.7791, allocations: 60.91 kB / 1.274 GB, free: 5.609 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.336e-05/0.7791, allocations: 78.41 kB / 1.274 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/0.7792, allocations: 159 kB / 1.274 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.98e-06/0.7792, allocations: 25.7 kB / 1.274 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.525e-05/0.7792, allocations: 104.2 kB / 1.274 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.043e-06/0.7793, allocations: 10.47 kB / 1.274 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.483e-05/0.7793, allocations: 13.59 kB / 1.274 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.574e-05/0.7793, allocations: 324.5 kB / 1.275 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.573e-05/0.7793, allocations: 8.016 kB / 1.275 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.681e-05/0.7793, allocations: 20.12 kB / 1.275 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.271e-05/0.7794, allocations: 26.98 kB / 1.275 GB, free: 4.875 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.7794, allocations: 0 / 1.275 GB, free: 4.875 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.923e-05/0.7795, allocations: 57.55 kB / 1.275 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.7795, allocations: 16.97 kB / 1.275 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.7795, allocations: 1.5 kB / 1.275 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.7795, allocations: 0.5625 kB / 1.275 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.322e-05/0.7795, allocations: 7.125 kB / 1.275 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.7795, allocations: 1 kB / 1.275 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.752e-05/0.7796, allocations: 9.719 kB / 1.275 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.988e-06/0.7796, allocations: 5.781 kB / 1.275 GB, free: 4.809 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 4.088e-05/0.7796, allocations: 111.1 kB / 1.275 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.106e-05/0.7797, allocations: 19.72 kB / 1.275 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.955e-05/0.7797, allocations: 12.75 kB / 1.275 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.7797, allocations: 1.094 kB / 1.275 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.7797, allocations: 0.9688 kB / 1.275 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.7797, allocations: 4.766 kB / 1.275 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002341/0.7799, allocations: 474.3 kB / 1.275 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.7799, allocations: 1.062 kB / 1.275 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.794e-05/0.7799, allocations: 6.094 kB / 1.275 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.7799, allocations: 8 kB / 1.275 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.089e-06/0.7799, allocations: 1.062 kB / 1.275 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.7799, allocations: 1.062 kB / 1.275 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.7799, allocations: 0.9375 kB / 1.275 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.275e-05/0.78, allocations: 78.8 kB / 1.275 GB, free: 4.082 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.63e-05/0.78, allocations: 91.16 kB / 1.276 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.182e-05/0.78, allocations: 1.5 kB / 1.276 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.966e-05/0.7801, allocations: 4.812 kB / 1.276 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.987e-06/0.7801, allocations: 2.312 kB / 1.276 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-06/0.7801, allocations: 1.75 kB / 1.276 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.06e-05/0.7801, allocations: 120.1 kB / 1.276 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.7801, allocations: 0 / 1.276 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001746/0.7803, allocations: 7.75 kB / 1.276 GB, free: 3.891 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.000194/0.7805, allocations: 0.6208 MB / 1.276 GB, free: 3.273 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 7.06e-05/0.7806, allocations: 18.25 kB / 1.276 GB, free: 3.266 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.7806, allocations: 0 / 1.276 GB, free: 3.266 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.738e-06/0.7806, allocations: 7.656 kB / 1.276 GB, free: 3.262 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001374/0.7807, allocations: 8.438 kB / 1.276 GB, free: 3.258 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008536/0.7816, allocations: 1.337 MB / 1.278 GB, free: 18.03 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002758/0.7818, allocations: 0.6967 MB / 1.278 GB, free: 17.33 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.713e-05/0.7819, allocations: 11.84 kB / 1.278 GB, free: 17.32 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.559e-05/0.7819, allocations: 24.8 kB / 1.278 GB, free: 17.3 MB / 1.014 GB Notification: Performance of SimCode: time 2.9e-07/0.7819, allocations: 0 / 1.278 GB, free: 17.3 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02296/0.8049, allocations: 1.555 MB / 1.28 GB, free: 16.93 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.898/7.703, allocations: 14.69 kB / 1.28 GB, free: 16.92 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_bar_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_bar.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_bar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.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: 12.965270744000009]