Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008589/0.0008589, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008252/0.0008252, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8982/0.8982, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.721/1.721, allocations: 377.8 MB / 0.6221 GB, free: 8.684 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="Buildings_12_Buildings_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="Buildings_12_Buildings_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 0.9809 GB, free: 2.613 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.815e-05/1.958e-05, allocations: 2.281 kB / 0.9809 GB, free: 2.609 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.6077/0.6077, allocations: 153 MB / 1.13 GB, free: 9.703 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.002822/0.6106, allocations: 1.759 MB / 1.132 GB, free: 8.508 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004324/0.611, allocations: 20.38 kB / 1.132 GB, free: 8.496 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006943/0.6117, allocations: 221.5 kB / 1.132 GB, free: 8.359 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001668/0.6134, allocations: 0.7844 MB / 1.133 GB, free: 7.938 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001858/0.6152, allocations: 0.9016 MB / 1.134 GB, free: 7.5 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0008554/0.6161, allocations: 0.8448 MB / 1.135 GB, free: 7.102 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003522/0.6164, allocations: 234.7 kB / 1.135 GB, free: 6.988 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009962/0.6174, allocations: 0.6965 MB / 1.136 GB, free: 6.691 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002435/0.6177, allocations: 234 kB / 1.136 GB, free: 6.617 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 4.393e-05/0.6177, allocations: 33.2 kB / 1.136 GB, free: 6.609 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001322/0.619, allocations: 0.9005 MB / 1.137 GB, free: 6.273 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001235/0.6192, allocations: 134.3 kB / 1.137 GB, free: 6.211 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001181/0.6193, allocations: 139.4 kB / 1.137 GB, free: 6.16 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001131/0.6204, allocations: 0.9215 MB / 1.138 GB, free: 5.863 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.6204, allocations: 0 / 1.138 GB, free: 5.863 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.964e-06/0.6204, allocations: 0 / 1.138 GB, free: 5.863 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 7.123e-06/0.6204, allocations: 0 / 1.138 GB, free: 5.863 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.001157/0.6216, allocations: 0.7125 MB / 1.139 GB, free: 5.359 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.6216, allocations: 14 kB / 1.139 GB, free: 5.355 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.76e-05/0.6217, allocations: 66.72 kB / 1.139 GB, free: 5.297 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006023/0.6223, allocations: 160.5 kB / 1.139 GB, free: 5.262 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004678/0.6227, allocations: 301.8 kB / 1.139 GB, free: 5.039 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.063e-05/0.6228, allocations: 21.47 kB / 1.139 GB, free: 5.031 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.398e-05/0.6228, allocations: 25.5 kB / 1.139 GB, free: 5.023 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005116/0.6233, allocations: 399.8 kB / 1.14 GB, free: 4.832 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.6233, allocations: 4.656 kB / 1.14 GB, free: 4.828 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.383e-05/0.6233, allocations: 11.59 kB / 1.14 GB, free: 4.82 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.578e-05/0.6234, allocations: 13.55 kB / 1.14 GB, free: 4.82 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004977/0.6239, allocations: 344.3 kB / 1.14 GB, free: 4.707 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001299/0.6252, allocations: 1.31 MB / 1.141 GB, free: 3.809 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003509/0.6255, allocations: 222.3 kB / 1.141 GB, free: 3.734 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001743/0.6257, allocations: 138.6 kB / 1.142 GB, free: 3.684 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002795/0.626, allocations: 69.69 kB / 1.142 GB, free: 3.68 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.636e-05/0.626, allocations: 36.75 kB / 1.142 GB, free: 3.637 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=20): time 2.415e-06/0.626, allocations: 0 / 1.142 GB, free: 3.637 MB / 0.9948 GB Notification: Performance of matching and sorting (n=20): time 0.0006533/0.6266, allocations: 392.7 kB / 1.142 GB, free: 3.492 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.477e-05/0.6267, allocations: 54.39 kB / 1.142 GB, free: 3.43 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002948/0.627, allocations: 361.8 kB / 1.142 GB, free: 3.25 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.564e-05/0.627, allocations: 26.8 kB / 1.142 GB, free: 3.219 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 8.664e-05/0.6271, allocations: 196.5 kB / 1.143 GB, free: 3.055 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 3.732e-05/0.6271, allocations: 73.53 kB / 1.143 GB, free: 2.996 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.609e-05/0.6272, allocations: 53.45 kB / 1.143 GB, free: 2.961 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 5.457e-05/0.6272, allocations: 346.9 kB / 1.143 GB, free: 2.633 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001449/0.6274, allocations: 89.08 kB / 1.143 GB, free: 2.609 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001929/0.6276, allocations: 233.5 kB / 1.143 GB, free: 2.426 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003143/0.6279, allocations: 251.8 kB / 1.144 GB, free: 2.297 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.6279, allocations: 1.094 kB / 1.144 GB, free: 2.297 MB / 0.9948 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005083/0.6284, allocations: 307.9 kB / 1.144 GB, free: 2.168 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 3.034e-05/0.6284, allocations: 13.31 kB / 1.144 GB, free: 2.164 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.282e-05/0.6284, allocations: 1.5 kB / 1.144 GB, free: 2.164 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.492e-05/0.6285, allocations: 7.719 kB / 1.144 GB, free: 2.16 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000182/0.6286, allocations: 44.03 kB / 1.144 GB, free: 2.16 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.6287, allocations: 8.062 kB / 1.144 GB, free: 2.156 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001739/0.6288, allocations: 35.17 kB / 1.144 GB, free: 2.137 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.755e-05/0.6289, allocations: 13.95 kB / 1.144 GB, free: 2.133 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (25): * Single equations (assignments): 25 * 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 0.0001209/0.629, allocations: 154.5 kB / 1.144 GB, free: 2 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.438e-05/0.629, allocations: 45.59 kB / 1.144 GB, free: 1.973 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000479/0.6295, allocations: 301.8 kB / 1.145 GB, free: 1.84 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.6295, allocations: 2.219 kB / 1.145 GB, free: 1.84 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.6295, allocations: 0.8125 kB / 1.145 GB, free: 1.84 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.6295, allocations: 1.359 kB / 1.145 GB, free: 1.84 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009474/0.6305, allocations: 0.83 MB / 1.145 GB, free: 1.309 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.6305, allocations: 3.266 kB / 1.145 GB, free: 1.309 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001174/0.6306, allocations: 46.25 kB / 1.145 GB, free: 1.301 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-06/0.6306, allocations: 7.469 kB / 1.145 GB, free: 1.301 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.633e-05/0.6306, allocations: 9.391 kB / 1.145 GB, free: 1.297 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/0.6306, allocations: 5.047 kB / 1.145 GB, free: 1.297 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.6306, allocations: 6.562 kB / 1.145 GB, free: 1.293 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003777/0.631, allocations: 447 kB / 1.146 GB, free: 0.9844 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.045e-05/0.6311, allocations: 63.03 kB / 1.146 GB, free: 0.9492 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.308e-05/0.6311, allocations: 10.41 kB / 1.146 GB, free: 0.9453 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000122/0.6312, allocations: 14.58 kB / 1.146 GB, free: 0.9414 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.203e-05/0.6313, allocations: 19.11 kB / 1.146 GB, free: 0.9375 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.334e-05/0.6313, allocations: 8.031 kB / 1.146 GB, free: 0.9375 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0001982/0.6315, allocations: 258.6 kB / 1.146 GB, free: 0.8125 MB / 0.9948 GB Notification: Performance of sort global known variables: time 6e-08/0.6315, allocations: 3.938 kB / 1.146 GB, free: 0.8086 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0003935/0.6319, allocations: 103.3 kB / 1.146 GB, free: 0.7891 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (20): * Single equations (assignments): 20 * 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.0008221/0.6327, allocations: 1.025 MB / 1.147 GB, free: 15.93 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0004551/0.6332, allocations: 240 kB / 1.148 GB, free: 15.86 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.6332, allocations: 4 kB / 1.148 GB, free: 15.86 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0002038/0.6334, allocations: 123.3 kB / 1.148 GB, free: 15.82 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007794/0.6342, allocations: 224.3 kB / 1.148 GB, free: 15.76 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003681/0.6378, allocations: 3.309 MB / 1.151 GB, free: 13.64 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001994/0.638, allocations: 194.9 kB / 1.151 GB, free: 13.55 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0003208/0.6384, allocations: 87.72 kB / 1.151 GB, free: 13.54 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002123/0.6386, allocations: 117.9 kB / 1.152 GB, free: 13.45 MB / 1.01 GB Notification: Performance of SimCode: time 1.723e-06/0.6386, allocations: 4 kB / 1.152 GB, free: 13.45 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02716/0.6657, allocations: 12.24 MB / 1.163 GB, free: 11.65 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.741/7.407, allocations: 5.922 kB / 1.163 GB, free: 11.65 MB / 1.01 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_FixedResistances_Validation_LosslessPipe_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_FixedResistances_Validation_LosslessPipe.fmu > Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_FixedResistances_Validation_LosslessPipe.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.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: 11.428589223884046]