Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="Buildings_9_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="Buildings_9_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",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.0016/0.0016, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001756/0.001756, allocations: 195.5 kB / 16.53 MB, free: 6.391 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.377/1.377, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.32/2.32, allocations: 390.2 MB / 0.6647 GB, free: 264 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001431/0.001431, allocations: 63.91 kB / 0.8127 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5348/0.5363, allocations: 140.4 MB / 0.9497 GB, free: 9.266 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.001928/0.5382, allocations: 1.277 MB / 0.951 GB, free: 8.25 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007581/0.539, allocations: 0.5964 MB / 0.9515 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.416e-05/0.539, allocations: 4 kB / 0.9516 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.627e-05/0.5391, allocations: 1.469 kB / 0.9516 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.601e-05/0.5391, allocations: 7.922 kB / 0.9516 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004414/0.5396, allocations: 140.9 kB / 0.9517 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.356e-05/0.5396, allocations: 21.67 kB / 0.9517 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.743e-05/0.5396, allocations: 1.094 kB / 0.9517 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.873e-05/0.5397, allocations: 4.469 kB / 0.9517 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.345e-05/0.5397, allocations: 20.25 kB / 0.9517 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.195e-05/0.5397, allocations: 4.781 kB / 0.9517 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004316/0.5402, allocations: 342.1 kB / 0.9521 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.075e-05/0.5402, allocations: 4.953 kB / 0.9521 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.17e-05/0.5402, allocations: 11.39 kB / 0.9521 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002177/0.5404, allocations: 147.4 kB / 0.9522 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.5404, allocations: 0 / 0.9522 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.462e-06/0.5405, allocations: 0 / 0.9522 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.5405, allocations: 1.5 kB / 0.9522 GB, free: 7.348 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003005/0.5408, allocations: 358.2 kB / 0.9526 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.5408, allocations: 14.03 kB / 0.9526 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.641e-05/0.5408, allocations: 34.75 kB / 0.9526 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.154e-05/0.5409, allocations: 2.25 kB / 0.9526 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.111e-05/0.5409, allocations: 166 kB / 0.9528 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.979e-06/0.541, allocations: 1.5 kB / 0.9528 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.194e-06/0.541, allocations: 1.812 kB / 0.9528 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.669e-05/0.5411, allocations: 45.12 kB / 0.9528 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-06/0.5411, allocations: 5.156 kB / 0.9528 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.175e-06/0.5411, allocations: 3.984 kB / 0.9528 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-06/0.5411, allocations: 5.094 kB / 0.9528 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.269e-05/0.5411, allocations: 20.45 kB / 0.9529 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002203/0.5414, allocations: 248.4 kB / 0.9531 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001718/0.5416, allocations: 50.59 kB / 0.9531 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.977e-05/0.5416, allocations: 17.14 kB / 0.9532 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.037e-05/0.5416, allocations: 3.984 kB / 0.9532 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.466e-05/0.5416, allocations: 39.75 kB / 0.9532 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.5416, allocations: 0 / 0.9532 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0001464/0.5418, allocations: 59.84 kB / 0.9533 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.092e-05/0.5418, allocations: 52.84 kB / 0.9533 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.94e-05/0.5419, allocations: 98.08 kB / 0.9534 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.262e-06/0.5419, allocations: 25.7 kB / 0.9534 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.289e-05/0.5419, allocations: 85.59 kB / 0.9535 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.026e-05/0.5419, allocations: 17.3 kB / 0.9535 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.666e-05/0.542, allocations: 18.06 kB / 0.9535 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.217e-05/0.542, allocations: 314.8 kB / 0.9538 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.927e-05/0.542, allocations: 8.203 kB / 0.9538 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.402e-05/0.542, allocations: 23.97 kB / 0.9539 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.192e-05/0.5421, allocations: 28.75 kB / 0.9539 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.5421, allocations: 5.688 kB / 0.9539 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.805e-05/0.5422, allocations: 58.53 kB / 0.954 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.5422, allocations: 5 kB / 0.954 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.5422, allocations: 4.953 kB / 0.954 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.5422, allocations: 1.156 kB / 0.954 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.688e-05/0.5423, allocations: 7.469 kB / 0.954 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/0.5423, allocations: 3.984 kB / 0.954 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.48e-05/0.5423, allocations: 8.906 kB / 0.954 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.53e-06/0.5423, allocations: 2.969 kB / 0.954 GB, free: 5.469 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 (5): * Single equations (assignments): 5 * 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.313e-05/0.5424, allocations: 114.8 kB / 0.9541 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.502e-05/0.5424, allocations: 6.188 kB / 0.9541 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001152/0.5425, allocations: 68.47 kB / 0.9542 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.5425, allocations: 1.281 kB / 0.9542 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.5425, allocations: 0 / 0.9542 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.5425, allocations: 0 / 0.9542 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001067/0.5427, allocations: 159.2 kB / 0.9543 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.5427, allocations: 3.984 kB / 0.9543 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.432e-05/0.5427, allocations: 5.469 kB / 0.9543 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.5427, allocations: 0.8125 kB / 0.9543 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.58e-06/0.5427, allocations: 9.188 kB / 0.9543 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.5427, allocations: 3.938 kB / 0.9543 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.5427, allocations: 1.031 kB / 0.9543 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.994e-05/0.5428, allocations: 155.2 kB / 0.9545 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.424e-05/0.5428, allocations: 82.27 kB / 0.9546 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.189e-05/0.5429, allocations: 4 kB / 0.9546 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.934e-05/0.5429, allocations: 1.25 kB / 0.9546 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.119e-05/0.5429, allocations: 1.188 kB / 0.9546 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.5429, allocations: 5.406 kB / 0.9546 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.67e-05/0.543, allocations: 77.78 kB / 0.9547 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.543, allocations: 0 / 0.9547 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002472/0.5432, allocations: 21.61 kB / 0.9547 GB, free: 4.727 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (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 Backend phase and start with SimCode phase: time 0.0002759/0.5435, allocations: 0.7002 MB / 0.9554 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.868e-05/0.5436, allocations: 31.67 kB / 0.9554 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.5436, allocations: 0 / 0.9554 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.928e-05/0.5436, allocations: 11.66 kB / 0.9554 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002085/0.5438, allocations: 3.219 kB / 0.9554 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003588/0.5442, allocations: 162.2 kB / 0.9556 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.886e-05/0.5443, allocations: 0.6816 MB / 0.9562 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.03e-05/0.5443, allocations: 6.469 kB / 0.9562 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.261e-05/0.5444, allocations: 10.28 kB / 0.9562 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.5444, allocations: 0 / 0.9562 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01573/0.5601, allocations: 1.364 MB / 0.9576 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.601/8.161, allocations: 11.02 kB / 0.9576 GB, free: 2.395 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.fmu > Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches