Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Continuous.Sources.Validation.StandardTime,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_StandardTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_StandardTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007014/0.007014, allocations: 100.7 kB / 15.73 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001643/0.001644, allocations: 196.8 kB / 16.67 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.352/1.352, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.177/2.177, allocations: 390.3 MB / 0.6648 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 75.88 kB / 0.9504 GB, free: 8.125 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8041/0.806, allocations: 140.4 MB / 1.088 GB, free: 5.285 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime): time 0.001526/0.8076, allocations: 0.5931 MB / 1.088 GB, free: 4.914 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 3.384e-05/0.8077, allocations: 1.094 kB / 1.088 GB, free: 4.914 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.792e-05/0.8077, allocations: 0 / 1.088 GB, free: 4.914 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.449e-05/0.8077, allocations: 0 / 1.088 GB, free: 4.914 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 2.293e-05/0.8078, allocations: 1.859 kB / 1.088 GB, free: 4.914 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 2.71e-05/0.8078, allocations: 0 / 1.088 GB, free: 4.914 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 4.512e-05/0.8078, allocations: 1 kB / 1.088 GB, free: 4.914 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.628e-05/0.8079, allocations: 4.047 kB / 1.088 GB, free: 4.914 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.284e-05/0.8079, allocations: 4.969 kB / 1.088 GB, free: 4.91 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 1.666e-05/0.8079, allocations: 5.766 kB / 1.088 GB, free: 4.906 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.035e-06/0.8079, allocations: 5.812 kB / 1.088 GB, free: 4.902 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 3.296e-06/0.8079, allocations: 0 / 1.088 GB, free: 4.902 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.142e-05/0.808, allocations: 4 kB / 1.088 GB, free: 4.898 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 1.753e-05/0.808, allocations: 3.938 kB / 1.088 GB, free: 4.895 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 4.825e-05/0.808, allocations: 2.172 kB / 1.088 GB, free: 4.895 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.808, allocations: 0 / 1.088 GB, free: 4.895 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.693e-06/0.808, allocations: 1.5 kB / 1.088 GB, free: 4.895 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.559e-06/0.8081, allocations: 0 / 1.088 GB, free: 4.895 MB / 0.8575 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.0001872/0.8082, allocations: 308.2 kB / 1.088 GB, free: 4.547 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.8083, allocations: 10 kB / 1.088 GB, free: 4.547 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.93e-05/0.8083, allocations: 35.27 kB / 1.088 GB, free: 4.504 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.559e-05/0.8083, allocations: 0.9375 kB / 1.088 GB, free: 4.504 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.534e-05/0.8084, allocations: 163.3 kB / 1.089 GB, free: 4.309 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.001e-06/0.8084, allocations: 384 / 1.089 GB, free: 4.309 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.937e-06/0.8084, allocations: 4.375 kB / 1.089 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.482e-05/0.8085, allocations: 29.12 kB / 1.089 GB, free: 4.273 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.8085, allocations: 5.375 kB / 1.089 GB, free: 4.27 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.032e-06/0.8085, allocations: 0 / 1.089 GB, free: 4.27 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.8085, allocations: 0 / 1.089 GB, free: 4.27 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.377e-05/0.8085, allocations: 5.469 kB / 1.089 GB, free: 4.266 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.022e-05/0.8086, allocations: 148.3 kB / 1.089 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 2.392e-05/0.8086, allocations: 17.39 kB / 1.089 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.921e-05/0.8087, allocations: 11.38 kB / 1.089 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.548e-06/0.8087, allocations: 0.9375 kB / 1.089 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.106e-05/0.8087, allocations: 32.12 kB / 1.089 GB, free: 4 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/0.8087, allocations: 0 / 1.089 GB, free: 4 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 9.333e-05/0.8088, allocations: 43.66 kB / 1.089 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.793e-05/0.8088, allocations: 52.78 kB / 1.089 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.225e-05/0.8088, allocations: 89.86 kB / 1.089 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.348e-06/0.8088, allocations: 25.7 kB / 1.089 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.696e-06/0.8089, allocations: 84.66 kB / 1.089 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.35e-05/0.8089, allocations: 5.281 kB / 1.089 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.171e-05/0.8089, allocations: 11.48 kB / 1.089 GB, free: 3.66 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.492e-05/0.8089, allocations: 320.7 kB / 1.089 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.394e-06/0.809, allocations: 0 / 1.089 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.418e-06/0.809, allocations: 1.875 kB / 1.089 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.897e-05/0.809, allocations: 8.391 kB / 1.089 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.809, allocations: 3.938 kB / 1.089 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.968e-05/0.809, allocations: 35.64 kB / 1.09 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.8091, allocations: 5.828 kB / 1.09 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.339e-06/0.8091, allocations: 5.062 kB / 1.09 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.8091, allocations: 0 / 1.09 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.561e-05/0.8091, allocations: 6.156 kB / 1.09 GB, free: 3.285 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.8091, allocations: 1.438 kB / 1.09 GB, free: 3.285 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.347e-06/0.8092, allocations: 0 / 1.09 GB, free: 3.285 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.529e-06/0.8092, allocations: 0.5625 kB / 1.09 GB, free: 3.285 MB / 0.8575 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 3.441e-05/0.8092, allocations: 107.9 kB / 1.09 GB, free: 3.172 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.701e-06/0.8092, allocations: 1.406 kB / 1.09 GB, free: 3.172 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.371e-05/0.8092, allocations: 7.578 kB / 1.09 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.8092, allocations: 0.5156 kB / 1.09 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.8092, allocations: 1.469 kB / 1.09 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.8093, allocations: 4.562 kB / 1.09 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.251e-05/0.8093, allocations: 148.8 kB / 1.09 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.8093, allocations: 0 / 1.09 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.228e-06/0.8093, allocations: 1.125 kB / 1.09 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.8093, allocations: 5.875 kB / 1.09 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.249e-06/0.8093, allocations: 3.938 kB / 1.09 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.033e-06/0.8093, allocations: 5.062 kB / 1.09 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.8093, allocations: 0 / 1.09 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.442e-05/0.8094, allocations: 56.97 kB / 1.09 GB, free: 2.891 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.826e-05/0.8094, allocations: 84.34 kB / 1.09 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.068e-05/0.8094, allocations: 9.531 kB / 1.09 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.935e-06/0.8094, allocations: 4 kB / 1.09 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.167e-05/0.8095, allocations: 1.953 kB / 1.09 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-06/0.8095, allocations: 0 / 1.09 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 9.338e-06/0.8095, allocations: 76.5 kB / 1.09 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.71e-07/0.8095, allocations: 0 / 1.09 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001829/0.8097, allocations: 1.25 kB / 1.09 GB, free: 2.707 MB / 0.8575 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.0001987/0.8099, allocations: 0.6007 MB / 1.091 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 5.578e-05/0.8099, allocations: 8.219 kB / 1.091 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.8099, allocations: 0 / 1.091 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 6.152e-06/0.81, allocations: 7.172 kB / 1.091 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001228/0.8101, allocations: 6.312 kB / 1.091 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002623/0.8103, allocations: 114.5 kB / 1.091 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002349/0.8106, allocations: 0.6715 MB / 1.091 GB, free: 17.26 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 1.111e-05/0.8106, allocations: 1.125 kB / 1.091 GB, free: 17.26 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.405e-05/0.8106, allocations: 7.438 kB / 1.091 GB, free: 17.25 MB / 0.8731 GB Notification: Performance of SimCode: time 2.81e-07/0.8106, allocations: 0 / 1.091 GB, free: 17.25 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02189/0.8325, allocations: 0.9061 MB / 1.092 GB, free: 16.94 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.663/8.496, allocations: 19.72 kB / 1.092 GB, free: 16.93 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_StandardTime_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_StandardTime.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_StandardTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches