Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime.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.001396/0.001396, allocations: 106.8 kB / 17.54 MB, free: 4.766 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.001402/0.001402, allocations: 181.9 kB / 20.71 MB, free: 1.609 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.323/1.323, allocations: 225.6 MB / 249.3 MB, free: 3.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.351/2.351, allocations: 443.5 MB / 0.7304 GB, free: 13.89 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.CDL.Reals.Sources.Validation.StandardTime,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_StandardTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_StandardTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001834/0.001834, allocations: 71.88 kB / 1.059 GB, free: 0.8867 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2582/0.26, allocations: 160.7 MB / 1.216 GB, free: 15.86 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime): time 0.001715/0.2618, allocations: 0.5866 MB / 1.216 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 3.839e-05/0.2618, allocations: 0 / 1.216 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.737e-05/0.2618, allocations: 0 / 1.216 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.337e-05/0.2618, allocations: 0 / 1.216 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.205e-05/0.2619, allocations: 0 / 1.216 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 2.921e-05/0.2619, allocations: 4 kB / 1.216 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 4.861e-05/0.2619, allocations: 8 kB / 1.216 GB, free: 15.26 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.068e-05/0.262, allocations: 0 / 1.216 GB, free: 15.26 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.533e-05/0.262, allocations: 0 / 1.216 GB, free: 15.26 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 1.587e-05/0.262, allocations: 0 / 1.216 GB, free: 15.26 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.126e-06/0.262, allocations: 0 / 1.216 GB, free: 15.26 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 4.148e-06/0.262, allocations: 7.938 kB / 1.216 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.123e-05/0.262, allocations: 7.922 kB / 1.216 GB, free: 15.24 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 1.887e-05/0.2621, allocations: 3.984 kB / 1.216 GB, free: 15.24 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 4.901e-05/0.2621, allocations: 0 / 1.216 GB, free: 15.24 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.2621, allocations: 0 / 1.216 GB, free: 15.24 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2621, allocations: 4 kB / 1.216 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.2621, allocations: 0 / 1.216 GB, free: 15.23 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002881/0.2624, allocations: 311.6 kB / 1.216 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.2624, allocations: 8.031 kB / 1.216 GB, free: 14.87 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.963e-05/0.2625, allocations: 30.75 kB / 1.217 GB, free: 14.83 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.75e-05/0.2625, allocations: 8.922 kB / 1.217 GB, free: 14.82 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001053/0.2626, allocations: 160.7 kB / 1.217 GB, free: 14.63 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.618e-06/0.2626, allocations: 384 / 1.217 GB, free: 14.63 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.875e-06/0.2626, allocations: 384 / 1.217 GB, free: 14.63 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.377e-05/0.2627, allocations: 30.27 kB / 1.217 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.2627, allocations: 3.938 kB / 1.217 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.259e-06/0.2627, allocations: 4 kB / 1.217 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.858e-06/0.2627, allocations: 0 / 1.217 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.566e-05/0.2627, allocations: 3.938 kB / 1.217 GB, free: 14.58 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001421/0.2629, allocations: 149.7 kB / 1.217 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 3.795e-05/0.2629, allocations: 18.61 kB / 1.217 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.059e-05/0.2629, allocations: 8.859 kB / 1.217 GB, free: 14.35 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 8.435e-06/0.2629, allocations: 0 / 1.217 GB, free: 14.35 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.695e-05/0.263, allocations: 34.62 kB / 1.217 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 7.21e-07/0.263, allocations: 3.938 kB / 1.217 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.00011/0.2631, allocations: 45.53 kB / 1.217 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.566e-05/0.2631, allocations: 51.41 kB / 1.217 GB, free: 14.19 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.4e-05/0.2632, allocations: 89.86 kB / 1.217 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.393e-05/0.2632, allocations: 29.64 kB / 1.217 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.734e-05/0.2632, allocations: 84.27 kB / 1.217 GB, free: 13.97 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.409e-05/0.2632, allocations: 3.938 kB / 1.217 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.01e-05/0.2633, allocations: 17.7 kB / 1.217 GB, free: 13.94 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.2634, allocations: 310.8 kB / 1.218 GB, free: 13.63 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.205e-06/0.2634, allocations: 0 / 1.218 GB, free: 13.63 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.115e-06/0.2634, allocations: 8 kB / 1.218 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.503e-05/0.2634, allocations: 8.859 kB / 1.218 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.2634, allocations: 4.062 kB / 1.218 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.017e-05/0.2635, allocations: 37.64 kB / 1.218 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.2635, allocations: 5.562 kB / 1.218 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.381e-06/0.2635, allocations: 3.938 kB / 1.218 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.2635, allocations: 0 / 1.218 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.842e-05/0.2636, allocations: 3.984 kB / 1.218 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.127e-06/0.2636, allocations: 4 kB / 1.218 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.366e-06/0.2636, allocations: 0 / 1.218 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.667e-06/0.2636, allocations: 0 / 1.218 GB, free: 13.55 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (1): * Single equations (assignments): 1 * 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 7.541e-05/0.2636, allocations: 112.5 kB / 1.218 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.227e-06/0.2637, allocations: 7.984 kB / 1.218 GB, free: 13.42 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.565e-05/0.2637, allocations: 7.062 kB / 1.218 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.2637, allocations: 4 kB / 1.218 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.2637, allocations: 0 / 1.218 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.2637, allocations: 0 / 1.218 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001022/0.2638, allocations: 145.7 kB / 1.218 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.2638, allocations: 0 / 1.218 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.353e-05/0.2638, allocations: 4 kB / 1.218 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.2638, allocations: 0 / 1.218 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.623e-06/0.2638, allocations: 7.938 kB / 1.218 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.2638, allocations: 0 / 1.218 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.2638, allocations: 0 / 1.218 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.848e-05/0.2639, allocations: 57.08 kB / 1.218 GB, free: 13.13 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.97e-05/0.2639, allocations: 85.09 kB / 1.218 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.013e-05/0.2639, allocations: 3.938 kB / 1.218 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.352e-06/0.2639, allocations: 0 / 1.218 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.785e-06/0.2639, allocations: 0 / 1.218 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.493e-06/0.2639, allocations: 4.031 kB / 1.218 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3e-05/0.264, allocations: 79.22 kB / 1.218 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.264, allocations: 0 / 1.218 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001626/0.2641, allocations: 7.938 kB / 1.218 GB, free: 12.94 MB / 0.9669 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 (1): * Single equations (assignments): 1 * 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.0003883/0.2645, allocations: 0.6007 MB / 1.219 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 5.942e-05/0.2646, allocations: 8 kB / 1.219 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.2646, allocations: 0 / 1.219 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 4.679e-06/0.2646, allocations: 0 / 1.219 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001177/0.2647, allocations: 8 kB / 1.219 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003099/0.265, allocations: 111.1 kB / 1.219 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002768/0.2653, allocations: 0.669 MB / 1.219 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 8.637e-06/0.2653, allocations: 3.938 kB / 1.219 GB, free: 11.44 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.73e-05/0.2653, allocations: 11.56 kB / 1.219 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of SimCode: time 4.2e-07/0.2653, allocations: 0 / 1.219 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02191/0.2872, allocations: 0.8829 MB / 1.22 GB, free: 10.62 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.008/7.295, allocations: 0.5 kB / 1.22 GB, free: 10.62 MB / 0.9669 GB " [Timeout remaining time 293] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime_res.csv --start-time -1 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_StandardTime.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_StandardTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime.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.495022857998265]