Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.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.0008125/0.0008125, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.001306/0.001306, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8977/0.8977, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.688/1.688, allocations: 377.8 MB / 0.6221 GB, free: 8.66 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.FMI.Conversion.Validation.AirToOutletFlowReversal,fileNamePrefix="Buildings_12_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,fileNamePrefix="Buildings_12_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.604e-06/1.604e-06, allocations: 0 / 0.981 GB, free: 1.434 MB / 0.8855 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.317e-05/2.478e-05, allocations: 2.281 kB / 0.981 GB, free: 1.43 MB / 0.8855 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.6076/0.6076, allocations: 221.7 MB / 1.197 GB, free: 2.707 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.01638/0.624, allocations: 20.47 MB / 1.217 GB, free: 14.18 MB / 1.057 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001295/0.6253, allocations: 75.31 kB / 1.218 GB, free: 14.11 MB / 1.057 GB Notification: Performance of NFTyping.typeComponents: time 0.002161/0.6274, allocations: 1.001 MB / 1.218 GB, free: 13.1 MB / 1.057 GB Notification: Performance of NFTyping.typeBindings: time 0.00245/0.6299, allocations: 1.55 MB / 1.22 GB, free: 11.54 MB / 1.057 GB Notification: Performance of NFTyping.typeClassSections: time 0.003127/0.633, allocations: 2.038 MB / 1.222 GB, free: 9.504 MB / 1.057 GB Notification: Performance of NFFlatten.flatten: time 0.0022/0.6352, allocations: 2.721 MB / 1.225 GB, free: 6.773 MB / 1.057 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008867/0.6361, allocations: 0.954 MB / 1.226 GB, free: 5.781 MB / 1.057 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00204/0.6381, allocations: 2.025 MB / 1.228 GB, free: 3.75 MB / 1.057 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006734/0.6388, allocations: 0.7985 MB / 1.228 GB, free: 2.949 MB / 1.057 GB Notification: Performance of NFPackage.collectConstants: time 9.326e-05/0.6389, allocations: 112 kB / 1.228 GB, free: 2.84 MB / 1.057 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001725/0.6406, allocations: 1.421 MB / 1.23 GB, free: 1.414 MB / 1.057 GB Notification: Performance of NFScalarize.scalarize: time 0.0002301/0.6409, allocations: 410.6 kB / 1.23 GB, free: 1.012 MB / 1.057 GB Notification: Performance of NFVerifyModel.verify: time 0.0002801/0.6411, allocations: 443 kB / 1.231 GB, free: 0.5781 MB / 1.057 GB Notification: Performance of NFConvertDAE.convert: time 0.001877/0.643, allocations: 2.348 MB / 1.233 GB, free: 14.22 MB / 1.073 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.643, allocations: 0 / 1.233 GB, free: 14.22 MB / 1.073 GB Notification: Performance of FrontEnd: time 1.513e-06/0.643, allocations: 5.688 kB / 1.233 GB, free: 14.22 MB / 1.073 GB Notification: Performance of Transformations before backend: time 1.023e-05/0.643, allocations: 0 / 1.233 GB, free: 14.22 MB / 1.073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.001227/0.6443, allocations: 1.445 MB / 1.234 GB, free: 12.73 MB / 1.073 GB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.6443, allocations: 12.03 kB / 1.234 GB, free: 12.72 MB / 1.073 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001051/0.6444, allocations: 140.4 kB / 1.234 GB, free: 12.58 MB / 1.073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005679/0.645, allocations: 247 kB / 1.235 GB, free: 12.34 MB / 1.073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009525/0.6459, allocations: 0.8637 MB / 1.236 GB, free: 11.45 MB / 1.073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001443/0.6461, allocations: 291.6 kB / 1.236 GB, free: 11.11 MB / 1.073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.294e-05/0.6462, allocations: 88 kB / 1.236 GB, free: 11.02 MB / 1.073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009046/0.6471, allocations: 0.9324 MB / 1.237 GB, free: 10.06 MB / 1.073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.658e-05/0.6471, allocations: 3.938 kB / 1.237 GB, free: 10.05 MB / 1.073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.253e-05/0.6471, allocations: 36 kB / 1.237 GB, free: 10.02 MB / 1.073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.293e-05/0.6471, allocations: 20 kB / 1.237 GB, free: 10 MB / 1.073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006858/0.6478, allocations: 0.6363 MB / 1.238 GB, free: 9.363 MB / 1.073 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002553/0.6504, allocations: 2.9 MB / 1.24 GB, free: 6.387 MB / 1.073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002567/0.6506, allocations: 186.5 kB / 1.241 GB, free: 6.195 MB / 1.073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001355/0.6508, allocations: 133.7 kB / 1.241 GB, free: 6.066 MB / 1.073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002641/0.651, allocations: 131.9 kB / 1.241 GB, free: 5.938 MB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.812e-05/0.651, allocations: 38.5 kB / 1.241 GB, free: 5.891 MB / 1.073 GB Notification: Performance of pre-optimization done (n=24): time 1.293e-06/0.651, allocations: 4 kB / 1.241 GB, free: 5.887 MB / 1.073 GB Notification: Performance of matching and sorting (n=24): time 0.0005879/0.6516, allocations: 476.6 kB / 1.241 GB, free: 5.414 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.057e-05/0.6517, allocations: 59.34 kB / 1.241 GB, free: 5.344 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008692/0.6525, allocations: 1.146 MB / 1.242 GB, free: 4.184 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 2.079e-05/0.6526, allocations: 29.7 kB / 1.242 GB, free: 4.148 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002668/0.6528, allocations: 0.5206 MB / 1.243 GB, free: 3.625 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 4.562e-05/0.6529, allocations: 91.17 kB / 1.243 GB, free: 3.535 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.353e-05/0.653, allocations: 94.14 kB / 1.243 GB, free: 3.438 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 7.068e-05/0.653, allocations: 326 kB / 1.243 GB, free: 3.113 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001448/0.6532, allocations: 128.9 kB / 1.244 GB, free: 2.988 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003434/0.6535, allocations: 0.7262 MB / 1.244 GB, free: 2.07 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003583/0.6539, allocations: 467.5 kB / 1.245 GB, free: 1.527 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.6539, allocations: 4 kB / 1.245 GB, free: 1.523 MB / 1.073 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007608/0.6546, allocations: 0.5512 MB / 1.245 GB, free: 0.9648 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.6547, allocations: 8.688 kB / 1.245 GB, free: 0.957 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.6547, allocations: 8 kB / 1.245 GB, free: 0.9492 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.6547, allocations: 12 kB / 1.245 GB, free: 0.9375 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001845/0.6549, allocations: 87.78 kB / 1.245 GB, free: 0.8516 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.306e-05/0.6549, allocations: 15.92 kB / 1.245 GB, free: 0.8359 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003102/0.6552, allocations: 99.27 kB / 1.246 GB, free: 0.7383 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.278e-05/0.6552, allocations: 24 kB / 1.246 GB, free: 0.7148 MB / 1.073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (48): * Single equations (assignments): 48 * 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.0002428/0.6555, allocations: 289.6 kB / 1.246 GB, free: 432 kB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.872e-05/0.6555, allocations: 112.1 kB / 1.246 GB, free: 320 kB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004626/0.656, allocations: 434.4 kB / 1.246 GB, free: 15.88 MB / 1.089 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.431e-06/0.656, allocations: 4 kB / 1.246 GB, free: 15.88 MB / 1.089 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.656, allocations: 3.938 kB / 1.246 GB, free: 15.87 MB / 1.089 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.656, allocations: 0 / 1.246 GB, free: 15.87 MB / 1.089 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001233/0.6573, allocations: 1.454 MB / 1.248 GB, free: 14.32 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.6573, allocations: 4.062 kB / 1.248 GB, free: 14.31 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.79e-05/0.6573, allocations: 43.92 kB / 1.248 GB, free: 14.27 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.6573, allocations: 8 kB / 1.248 GB, free: 14.26 MB / 1.089 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.482e-05/0.6574, allocations: 12.56 kB / 1.248 GB, free: 14.25 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.6574, allocations: 15.92 kB / 1.248 GB, free: 14.23 MB / 1.089 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.6574, allocations: 7.938 kB / 1.248 GB, free: 14.23 MB / 1.089 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003749/0.6577, allocations: 0.5743 MB / 1.248 GB, free: 13.58 MB / 1.089 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001759/0.6579, allocations: 171.1 kB / 1.249 GB, free: 13.41 MB / 1.089 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.186e-05/0.658, allocations: 15.94 kB / 1.249 GB, free: 13.4 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002046/0.6582, allocations: 11.98 kB / 1.249 GB, free: 13.39 MB / 1.089 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.246e-05/0.6582, allocations: 31.84 kB / 1.249 GB, free: 13.36 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.629e-05/0.6582, allocations: 23.98 kB / 1.249 GB, free: 13.33 MB / 1.089 GB Notification: Performance of sorting global known variables: time 0.0006322/0.6589, allocations: 0.7947 MB / 1.249 GB, free: 12.53 MB / 1.089 GB Notification: Performance of sort global known variables: time 8e-08/0.6589, allocations: 0 / 1.249 GB, free: 12.53 MB / 1.089 GB Notification: Performance of remove unused functions: time 0.0004837/0.6594, allocations: 291.4 kB / 1.25 GB, free: 12.25 MB / 1.089 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0008672/0.6602, allocations: 1.32 MB / 1.251 GB, free: 10.85 MB / 1.089 GB Notification: Performance of simCode: created initialization part: time 0.0003904/0.6606, allocations: 342.4 kB / 1.251 GB, free: 10.52 MB / 1.089 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.6606, allocations: 0 / 1.251 GB, free: 10.52 MB / 1.089 GB Notification: Performance of simCode: created simulation system equations: time 0.0001286/0.6607, allocations: 137.3 kB / 1.251 GB, free: 10.38 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001452/0.6622, allocations: 0.5094 MB / 1.252 GB, free: 9.883 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006636/0.6688, allocations: 7.548 MB / 1.259 GB, free: 1.918 MB / 1.089 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003307/0.6692, allocations: 489.5 kB / 1.26 GB, free: 1.406 MB / 1.089 GB Notification: Performance of simCode: alias equations: time 0.0004502/0.6696, allocations: 204.2 kB / 1.26 GB, free: 1.211 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003056/0.6699, allocations: 372.4 kB / 1.26 GB, free: 0.8477 MB / 1.089 GB Notification: Performance of SimCode: time 5.31e-07/0.6699, allocations: 0 / 1.26 GB, free: 0.8477 MB / 1.089 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03651/0.7064, allocations: 30.99 MB / 1.291 GB, free: 2.465 MB / 1.12 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.557/8.263, allocations: 13.44 kB / 1.291 GB, free: 2.457 MB / 1.12 GB " [Timeout remaining time 292] (rm -f Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; mkfifo Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe >> ../files/Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal.fmu > Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.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.222122564911842]