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.001325/0.001325, allocations: 106.7 kB / 16.45 MB, free: 6.035 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.001354/0.001354, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.391/1.391, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.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.742/2.742, allocations: 443.5 MB / 0.7287 GB, free: 13.22 MB / 0.5919 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.002252/0.002252, allocations: 71.89 kB / 1.056 GB, free: 5.789 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9223/0.9246, allocations: 160.7 MB / 1.213 GB, free: 3.883 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime): time 0.002155/0.9267, allocations: 0.585 MB / 1.214 GB, free: 3.449 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 4.383e-05/0.9268, allocations: 3.984 kB / 1.214 GB, free: 3.445 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.855e-05/0.9268, allocations: 1.156 kB / 1.214 GB, free: 3.445 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.151e-05/0.9268, allocations: 0 / 1.214 GB, free: 3.445 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 2.492e-05/0.9268, allocations: 0 / 1.214 GB, free: 3.445 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 3.894e-05/0.9269, allocations: 1 kB / 1.214 GB, free: 3.445 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.992e-05/0.927, allocations: 8.938 kB / 1.214 GB, free: 3.438 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 5.345e-05/0.927, allocations: 1.125 kB / 1.214 GB, free: 3.438 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 1.614e-05/0.927, allocations: 1.125 kB / 1.214 GB, free: 3.438 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 1.972e-05/0.927, allocations: 0 / 1.214 GB, free: 3.438 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.159e-05/0.9271, allocations: 0 / 1.214 GB, free: 3.438 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 4.218e-06/0.9271, allocations: 5.156 kB / 1.214 GB, free: 3.434 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.298e-05/0.9271, allocations: 0 / 1.214 GB, free: 3.434 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.271e-05/0.9271, allocations: 1.094 kB / 1.214 GB, free: 3.434 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 6.539e-05/0.9272, allocations: 3.938 kB / 1.214 GB, free: 3.43 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.9272, allocations: 1.125 kB / 1.214 GB, free: 3.43 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.754e-06/0.9272, allocations: 0 / 1.214 GB, free: 3.43 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.122e-06/0.9272, allocations: 0 / 1.214 GB, free: 3.43 MB / 0.92 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.0003585/0.9275, allocations: 316.9 kB / 1.214 GB, free: 3.074 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/0.9276, allocations: 9.531 kB / 1.214 GB, free: 3.074 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.58e-05/0.9276, allocations: 31.97 kB / 1.214 GB, free: 3.035 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.157e-05/0.9276, allocations: 4.938 kB / 1.214 GB, free: 3.031 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000125/0.9278, allocations: 162.2 kB / 1.214 GB, free: 2.836 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.9278, allocations: 1.125 kB / 1.214 GB, free: 2.836 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.626e-06/0.9278, allocations: 1.406 kB / 1.214 GB, free: 2.836 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001033/0.9279, allocations: 31.34 kB / 1.214 GB, free: 2.801 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.9279, allocations: 5.125 kB / 1.214 GB, free: 2.797 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.896e-06/0.9279, allocations: 0 / 1.214 GB, free: 2.797 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.9279, allocations: 3.938 kB / 1.214 GB, free: 2.793 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.623e-05/0.928, allocations: 5.031 kB / 1.214 GB, free: 2.789 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000193/0.9281, allocations: 154.8 kB / 1.214 GB, free: 2.59 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 4.906e-05/0.9282, allocations: 20.88 kB / 1.214 GB, free: 2.562 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.546e-05/0.9282, allocations: 7.109 kB / 1.214 GB, free: 2.555 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.137e-05/0.9282, allocations: 0 / 1.214 GB, free: 2.555 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.94e-05/0.9283, allocations: 35.66 kB / 1.214 GB, free: 2.512 MB / 0.92 GB Notification: Performance of pre-optimization done (n=1): time 7.12e-07/0.9283, allocations: 0 / 1.214 GB, free: 2.512 MB / 0.92 GB Notification: Performance of matching and sorting (n=1): time 0.0001406/0.9284, allocations: 54.95 kB / 1.214 GB, free: 2.457 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.073e-05/0.9285, allocations: 51.41 kB / 1.214 GB, free: 2.395 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.793e-05/0.9285, allocations: 90.95 kB / 1.215 GB, free: 2.297 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.674e-05/0.9285, allocations: 25.7 kB / 1.215 GB, free: 2.266 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.89e-05/0.9286, allocations: 80.14 kB / 1.215 GB, free: 2.184 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.978e-05/0.9286, allocations: 1.188 kB / 1.215 GB, free: 2.184 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.335e-05/0.9286, allocations: 10.78 kB / 1.215 GB, free: 2.168 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.9288, allocations: 312 kB / 1.215 GB, free: 1.855 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.084e-05/0.9288, allocations: 5.312 kB / 1.215 GB, free: 1.852 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.493e-06/0.9288, allocations: 1.125 kB / 1.215 GB, free: 1.852 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.075e-05/0.9288, allocations: 15.41 kB / 1.215 GB, free: 1.836 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.9288, allocations: 0 / 1.215 GB, free: 1.836 MB / 0.92 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.035e-05/0.9289, allocations: 34.92 kB / 1.215 GB, free: 1.801 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.9289, allocations: 5.594 kB / 1.215 GB, free: 1.801 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.9289, allocations: 3.938 kB / 1.215 GB, free: 1.797 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.9289, allocations: 0 / 1.215 GB, free: 1.797 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.193e-05/0.929, allocations: 6.312 kB / 1.215 GB, free: 1.793 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.929, allocations: 0 / 1.215 GB, free: 1.793 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.371e-05/0.929, allocations: 5.125 kB / 1.215 GB, free: 1.789 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.641e-06/0.929, allocations: 0 / 1.215 GB, free: 1.789 MB / 0.92 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 8.4e-05/0.9291, allocations: 106.9 kB / 1.215 GB, free: 1.676 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.147e-06/0.9291, allocations: 5.094 kB / 1.215 GB, free: 1.672 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.599e-05/0.9291, allocations: 11.05 kB / 1.215 GB, free: 1.656 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.9291, allocations: 1.125 kB / 1.215 GB, free: 1.656 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.9291, allocations: 0 / 1.215 GB, free: 1.656 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.9291, allocations: 4 kB / 1.215 GB, free: 1.652 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001396/0.9293, allocations: 142.8 kB / 1.215 GB, free: 1.465 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.9293, allocations: 1.25 kB / 1.215 GB, free: 1.465 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.637e-05/0.9293, allocations: 5.281 kB / 1.215 GB, free: 1.461 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.9293, allocations: 0 / 1.215 GB, free: 1.461 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.367e-06/0.9293, allocations: 5.25 kB / 1.215 GB, free: 1.457 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.546e-06/0.9293, allocations: 3.984 kB / 1.215 GB, free: 1.453 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.9293, allocations: 0 / 1.215 GB, free: 1.453 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.333e-05/0.9294, allocations: 63.36 kB / 1.215 GB, free: 1.379 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.142e-05/0.9294, allocations: 77.11 kB / 1.215 GB, free: 1.285 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.129e-05/0.9295, allocations: 5 kB / 1.215 GB, free: 1.281 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.053e-06/0.9295, allocations: 0 / 1.215 GB, free: 1.281 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.729e-06/0.9295, allocations: 1.094 kB / 1.215 GB, free: 1.281 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.438e-06/0.9295, allocations: 5.078 kB / 1.215 GB, free: 1.277 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.349e-05/0.9295, allocations: 75.28 kB / 1.215 GB, free: 1.203 MB / 0.92 GB Notification: Performance of sort global known variables: time 1e-07/0.9295, allocations: 3.938 kB / 1.215 GB, free: 1.199 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001842/0.9297, allocations: 1.062 kB / 1.215 GB, free: 1.199 MB / 0.92 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.0004586/0.9302, allocations: 0.5981 MB / 1.216 GB, free: 0.5938 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 8.068e-05/0.9302, allocations: 7.172 kB / 1.216 GB, free: 0.5898 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.9302, allocations: 0 / 1.216 GB, free: 0.5898 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 6.392e-06/0.9303, allocations: 2.125 kB / 1.216 GB, free: 0.5898 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001403/0.9304, allocations: 9.125 kB / 1.216 GB, free: 0.582 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003923/0.9308, allocations: 116.5 kB / 1.216 GB, free: 452 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003291/0.9311, allocations: 0.6739 MB / 1.217 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.229e-05/0.9311, allocations: 0 / 1.217 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.185e-05/0.9311, allocations: 8.531 kB / 1.217 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of SimCode: time 4.61e-07/0.9311, allocations: 0 / 1.217 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02524/0.9564, allocations: 0.9108 MB / 1.218 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.031/8.988, allocations: 18.41 kB / 1.218 GB, free: 15.2 MB / 0.9356 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_StandardTime_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=400 --tolerance=1e-06 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.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_StandardTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 15.010188711807132]