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.001364/0.001364, allocations: 99.75 kB / 18.95 MB, free: 2.832 MB / 14.72 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.001502/0.001502, allocations: 217.7 kB / 22.25 MB, free: 5.105 MB / 14.72 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 1.452/1.452, allocations: 230.6 MB / 256 MB, free: 7.828 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.192/3.192, allocations: 0.49 GB / 0.7951 GB, free: 35.55 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002847/0.002847, allocations: 62.84 kB / 1.154 GB, free: 25.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3232/0.3261, allocations: 176.1 MB / 1.326 GB, free: 1.477 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.2636/0.5896, allocations: 222.3 MB / 1.543 GB, free: 2.398 MB / 1.233 GB Notification: Performance of NFInst.instExpressions: time 0.02633/0.616, allocations: 20.57 MB / 1.563 GB, free: 13.77 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001582/0.6175, allocations: 75.38 kB / 1.563 GB, free: 13.7 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.002658/0.6202, allocations: 0.9898 MB / 1.564 GB, free: 12.7 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.004795/0.625, allocations: 1.512 MB / 1.566 GB, free: 11.18 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.005199/0.6302, allocations: 1.959 MB / 1.567 GB, free: 9.227 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.004286/0.6345, allocations: 2.698 MB / 1.57 GB, free: 6.512 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001789/0.6363, allocations: 0.9774 MB / 1.571 GB, free: 5.492 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003563/0.6398, allocations: 1.635 MB / 1.573 GB, free: 3.852 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00159/0.6414, allocations: 0.9455 MB / 1.574 GB, free: 2.902 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.0001778/0.6416, allocations: 112 kB / 1.574 GB, free: 2.793 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00309/0.6447, allocations: 1.399 MB / 1.575 GB, free: 1.391 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.0005794/0.6453, allocations: 390.7 kB / 1.575 GB, free: 1.008 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.0008369/0.6461, allocations: 0.5172 MB / 1.576 GB, free: 500 kB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.004489/0.6506, allocations: 2.308 MB / 1.578 GB, free: 14.17 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 5.902e-06/0.6506, allocations: 0 / 1.578 GB, free: 14.17 MB / 1.279 GB Notification: Performance of FrontEnd: time 1.703e-06/0.6506, allocations: 0 / 1.578 GB, free: 14.17 MB / 1.279 GB Notification: Performance of Transformations before backend: time 2.975e-05/0.6506, allocations: 4 kB / 1.578 GB, free: 14.16 MB / 1.279 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.002325/0.653, allocations: 1.443 MB / 1.58 GB, free: 12.69 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 5.375e-05/0.653, allocations: 8.031 kB / 1.58 GB, free: 12.68 MB / 1.279 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001889/0.6532, allocations: 139.5 kB / 1.58 GB, free: 12.54 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001212/0.6544, allocations: 231.1 kB / 1.58 GB, free: 12.31 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001825/0.6562, allocations: 0.8559 MB / 1.581 GB, free: 11.42 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002499/0.6565, allocations: 291.6 kB / 1.581 GB, free: 11.09 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001525/0.6566, allocations: 95.94 kB / 1.581 GB, free: 11 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001606/0.6583, allocations: 0.9362 MB / 1.582 GB, free: 10.02 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.245e-05/0.6583, allocations: 0 / 1.582 GB, free: 10.02 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.376e-05/0.6583, allocations: 36 kB / 1.582 GB, free: 9.988 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.141e-05/0.6584, allocations: 20 kB / 1.582 GB, free: 9.969 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00109/0.6595, allocations: 0.6246 MB / 1.583 GB, free: 9.344 MB / 1.279 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.004565/0.664, allocations: 2.901 MB / 1.586 GB, free: 6.359 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004179/0.6644, allocations: 182.6 kB / 1.586 GB, free: 6.172 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002194/0.6647, allocations: 148.8 kB / 1.586 GB, free: 6.023 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005677/0.6652, allocations: 119.9 kB / 1.586 GB, free: 5.906 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.225e-05/0.6653, allocations: 38.5 kB / 1.586 GB, free: 5.859 MB / 1.279 GB Notification: Performance of pre-optimization done (n=24): time 2.204e-06/0.6653, allocations: 0 / 1.586 GB, free: 5.859 MB / 1.279 GB Notification: Performance of matching and sorting (n=24): time 0.00109/0.6664, allocations: 474.7 kB / 1.586 GB, free: 5.391 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.62e-05/0.6664, allocations: 55.41 kB / 1.587 GB, free: 5.324 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0015/0.6679, allocations: 1.134 MB / 1.588 GB, free: 4.176 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 5.097e-05/0.668, allocations: 29.7 kB / 1.588 GB, free: 4.141 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004553/0.6684, allocations: 0.5205 MB / 1.588 GB, free: 3.617 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001008/0.6685, allocations: 87.2 kB / 1.588 GB, free: 3.531 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001696/0.6687, allocations: 106 kB / 1.588 GB, free: 3.422 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.6688, allocations: 322 kB / 1.589 GB, free: 3.102 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002356/0.6691, allocations: 128.8 kB / 1.589 GB, free: 2.977 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006374/0.6697, allocations: 0.7295 MB / 1.59 GB, free: 2.051 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005936/0.6703, allocations: 467.6 kB / 1.59 GB, free: 1.508 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.181e-06/0.6703, allocations: 4 kB / 1.59 GB, free: 1.504 MB / 1.279 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009428/0.6712, allocations: 0.5432 MB / 1.59 GB, free: 0.9531 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.6713, allocations: 11.94 kB / 1.59 GB, free: 0.9414 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/0.6713, allocations: 8 kB / 1.591 GB, free: 0.9336 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.176e-05/0.6713, allocations: 8.688 kB / 1.591 GB, free: 0.9258 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003745/0.6717, allocations: 87.83 kB / 1.591 GB, free: 0.8398 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.566e-05/0.6717, allocations: 15.94 kB / 1.591 GB, free: 0.8242 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006823/0.6724, allocations: 103.3 kB / 1.591 GB, free: 0.7227 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.848e-05/0.6724, allocations: 31.92 kB / 1.591 GB, free: 0.6914 MB / 1.279 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.0003953/0.6728, allocations: 285.7 kB / 1.591 GB, free: 412 kB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001607/0.673, allocations: 111.2 kB / 1.591 GB, free: 300 kB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007452/0.6737, allocations: 436.1 kB / 1.592 GB, free: 15.86 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-05/0.6737, allocations: 4 kB / 1.592 GB, free: 15.85 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.6737, allocations: 0 / 1.592 GB, free: 15.85 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.6737, allocations: 0 / 1.592 GB, free: 15.85 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002215/0.676, allocations: 1.44 MB / 1.593 GB, free: 14.31 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.176e-05/0.676, allocations: 15.88 kB / 1.593 GB, free: 14.29 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001768/0.6761, allocations: 39.92 kB / 1.593 GB, free: 14.25 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.274e-06/0.6761, allocations: 8 kB / 1.593 GB, free: 14.25 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.225e-05/0.6762, allocations: 8 kB / 1.593 GB, free: 14.24 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.031e-06/0.6762, allocations: 4 kB / 1.593 GB, free: 14.23 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/0.6762, allocations: 7.938 kB / 1.593 GB, free: 14.23 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006724/0.6769, allocations: 0.5918 MB / 1.594 GB, free: 13.57 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003693/0.6772, allocations: 167.2 kB / 1.594 GB, free: 13.4 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000129/0.6774, allocations: 12 kB / 1.594 GB, free: 13.39 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004433/0.6778, allocations: 15.92 kB / 1.594 GB, free: 13.38 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.473e-05/0.6779, allocations: 31.84 kB / 1.594 GB, free: 13.34 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-05/0.6779, allocations: 16 kB / 1.594 GB, free: 13.33 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001083/0.679, allocations: 0.7826 MB / 1.595 GB, free: 12.54 MB / 1.295 GB Notification: Performance of sort global known variables: time 1e-07/0.679, allocations: 4 kB / 1.595 GB, free: 12.54 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.0009535/0.6799, allocations: 291.4 kB / 1.595 GB, free: 12.25 MB / 1.295 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.001473/0.6814, allocations: 1.324 MB / 1.596 GB, free: 10.85 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.0006558/0.682, allocations: 336.6 kB / 1.596 GB, free: 10.52 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.6821, allocations: 4 kB / 1.596 GB, free: 10.52 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0002069/0.6823, allocations: 131.8 kB / 1.597 GB, free: 10.39 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002306/0.6846, allocations: 0.523 MB / 1.597 GB, free: 9.879 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01034/0.6949, allocations: 7.466 MB / 1.604 GB, free: 1.992 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005308/0.6954, allocations: 485 kB / 1.605 GB, free: 1.488 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.0007567/0.6962, allocations: 199.9 kB / 1.605 GB, free: 1.293 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004852/0.6967, allocations: 363.3 kB / 1.605 GB, free: 0.9375 MB / 1.295 GB Notification: Performance of SimCode: time 1.272e-06/0.6967, allocations: 0 / 1.605 GB, free: 0.9375 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6724/1.369, allocations: 30.89 MB / 1.636 GB, free: 274.6 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.24/13.6, allocations: 8.656 kB / 1.636 GB, free: 274.6 MB / 1.295 GB " [Timeout remaining time 286] (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/jenkins1/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: 20.319249534979463]