Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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: translateModel(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|probe_source.V|probe_loadRC.V|probe_loadRL.V",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe") translateModel(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|probe_source.V|probe_loadRC.V|probe_loadRL.V",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001121/0.001121, allocations: 197.9 kB / 16.14 MB, free: 6.719 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.316/1.316, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.663/2.663, allocations: 461.9 MB / 0.7342 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 63.19 kB / 0.8984 GB, free: 37.2 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3033/0.3046, allocations: 157.4 MB / 1.052 GB, free: 8.863 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.005708/0.3104, allocations: 4.197 MB / 1.056 GB, free: 4.645 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003877/0.3143, allocations: 2.38 MB / 1.059 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001744/0.3145, allocations: 4 kB / 1.059 GB, free: 2.25 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001387/0.3159, allocations: 0.5061 MB / 1.059 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0005745/0.3165, allocations: 266.9 kB / 1.059 GB, free: 1.48 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007495/0.3172, allocations: 318.6 kB / 1.06 GB, free: 1.172 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0007192/0.3179, allocations: 0.8103 MB / 1.06 GB, free: 368 kB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005731/0.3185, allocations: 372.4 kB / 1.061 GB, free: 0 / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002853/0.3188, allocations: 199.3 kB / 1.061 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004352/0.3193, allocations: 287 kB / 1.061 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.593e-05/0.3193, allocations: 28 kB / 1.061 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000588/0.3199, allocations: 335.4 kB / 1.062 GB, free: 15.17 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001787/0.3201, allocations: 167.6 kB / 1.062 GB, free: 15 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002304/0.3204, allocations: 206.9 kB / 1.062 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0007016/0.3211, allocations: 0.6581 MB / 1.063 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3211, allocations: 0 / 1.063 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.263e-06/0.3211, allocations: 0 / 1.063 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.3211, allocations: 0 / 1.063 GB, free: 14.14 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.001234/0.3223, allocations: 0.7291 MB / 1.063 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.3224, allocations: 8.031 kB / 1.063 GB, free: 13.35 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00121/0.3236, allocations: 164.3 kB / 1.063 GB, free: 13.19 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004045/0.324, allocations: 324.4 kB / 1.064 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.626e-05/0.3241, allocations: 29.31 kB / 1.064 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.835e-05/0.3241, allocations: 36.36 kB / 1.064 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009596/0.3251, allocations: 0.6342 MB / 1.064 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.971e-05/0.3251, allocations: 7.938 kB / 1.064 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.205e-05/0.3252, allocations: 16 kB / 1.064 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.615e-05/0.3253, allocations: 40.62 kB / 1.064 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000917/0.3262, allocations: 490.1 kB / 1.065 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003822/0.33, allocations: 3.432 MB / 1.068 GB, free: 7.816 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007769/0.3308, allocations: 380.9 kB / 1.069 GB, free: 7.426 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002312/0.3311, allocations: 165.6 kB / 1.069 GB, free: 7.258 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.931e-05/0.3311, allocations: 12 kB / 1.069 GB, free: 7.246 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.103e-05/0.3312, allocations: 38.55 kB / 1.069 GB, free: 7.199 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=25): time 1.583e-06/0.3312, allocations: 3.938 kB / 1.069 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of matching and sorting (n=26): time 0.004659/0.3358, allocations: 1.458 MB / 1.07 GB, free: 5.688 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.041e-05/0.3359, allocations: 81.11 kB / 1.07 GB, free: 5.59 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000402/0.3363, allocations: 332.4 kB / 1.071 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.988e-05/0.3364, allocations: 33.69 kB / 1.071 GB, free: 5.219 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001563/0.3365, allocations: 263.3 kB / 1.071 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.415e-05/0.3366, allocations: 94.69 kB / 1.071 GB, free: 4.859 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001431/0.3368, allocations: 90.16 kB / 1.071 GB, free: 4.766 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.3369, allocations: 346.8 kB / 1.071 GB, free: 4.418 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003199/0.3372, allocations: 187 kB / 1.072 GB, free: 4.234 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004334/0.3377, allocations: 346 kB / 1.072 GB, free: 3.824 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007045/0.3384, allocations: 0.543 MB / 1.073 GB, free: 3.207 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3384, allocations: 4 kB / 1.073 GB, free: 3.203 MB / 0.8262 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002432/0.3408, allocations: 0.9203 MB / 1.073 GB, free: 2.27 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.3409, allocations: 4 kB / 1.073 GB, free: 2.266 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/0.3409, allocations: 8 kB / 1.073 GB, free: 2.258 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002378/0.3433, allocations: 0.5013 MB / 1.074 GB, free: 1.75 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004596/0.3437, allocations: 107.8 kB / 1.074 GB, free: 1.645 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00551/0.3493, allocations: 3.759 MB / 1.078 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004852/0.3498, allocations: 51.86 kB / 1.078 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.896e-05/0.3498, allocations: 31.92 kB / 1.078 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004611/0.3503, allocations: 305.1 kB / 1.078 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000369/0.3507, allocations: 335.8 kB / 1.078 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006043/0.3513, allocations: 0.514 MB / 1.079 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.395e-06/0.3513, allocations: 0 / 1.079 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.000836/0.3521, allocations: 0.5361 MB / 1.079 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.3521, allocations: 5.094 kB / 1.079 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.3522, allocations: 8 kB / 1.079 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.3522, allocations: 15.94 kB / 1.079 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004478/0.3526, allocations: 116.3 kB / 1.08 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.3527, allocations: 15.94 kB / 1.08 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003701/0.353, allocations: 35.81 kB / 1.08 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.461e-05/0.3531, allocations: 27.98 kB / 1.08 GB, free: 11.47 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,2), (2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001589/0.3532, allocations: 212 kB / 1.08 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.634e-05/0.3533, allocations: 31.62 kB / 1.08 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00165/0.355, allocations: 0.6671 MB / 1.081 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-06/0.355, allocations: 7.984 kB / 1.081 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.355, allocations: 3.984 kB / 1.081 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.355, allocations: 0 / 1.081 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008779/0.3559, allocations: 0.6598 MB / 1.081 GB, free: 9.809 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.3559, allocations: 0 / 1.081 GB, free: 9.809 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001931/0.3561, allocations: 47.95 kB / 1.081 GB, free: 9.762 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001527/0.3576, allocations: 401.2 kB / 1.082 GB, free: 9.363 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.548e-05/0.3577, allocations: 8 kB / 1.082 GB, free: 9.355 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003978/0.3617, allocations: 3.474 MB / 1.085 GB, free: 5.617 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.3617, allocations: 0 / 1.085 GB, free: 5.617 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001634/0.3633, allocations: 0.8345 MB / 1.086 GB, free: 4.75 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001662/0.3635, allocations: 152.5 kB / 1.086 GB, free: 4.582 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.845e-05/0.3636, allocations: 4 kB / 1.086 GB, free: 4.578 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003771/0.3639, allocations: 39.94 kB / 1.086 GB, free: 4.539 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.177e-05/0.364, allocations: 23.97 kB / 1.086 GB, free: 4.516 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.936e-05/0.364, allocations: 4 kB / 1.086 GB, free: 4.512 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003039/0.3644, allocations: 239 kB / 1.086 GB, free: 4.281 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.1e-07/0.3644, allocations: 0 / 1.086 GB, free: 4.281 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0009208/0.3653, allocations: 196 kB / 1.086 GB, free: 4.09 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,2), (2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000175/0.3655, allocations: 123 kB / 1.087 GB, free: 3.957 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001768/0.3673, allocations: 0.9752 MB / 1.087 GB, free: 2.957 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.3673, allocations: 0 / 1.087 GB, free: 2.957 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0006882/0.368, allocations: 477 kB / 1.088 GB, free: 2.469 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006107/0.3686, allocations: 82.41 kB / 1.088 GB, free: 2.391 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001341/0.3699, allocations: 0.8988 MB / 1.089 GB, free: 1.449 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003834/0.3703, allocations: 0.847 MB / 1.09 GB, free: 0.5781 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0004469/0.3708, allocations: 143.2 kB / 1.09 GB, free: 452 kB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.5e-05/0.3709, allocations: 31.42 kB / 1.09 GB, free: 420 kB / 0.8419 GB Notification: Performance of SimCode: time 3.1e-07/0.3709, allocations: 3.938 kB / 1.09 GB, free: 416 kB / 0.8419 GB Notification: Performance of Templates: time 0.01176/0.3827, allocations: 6.974 MB / 1.097 GB, free: 9.461 MB / 0.8575 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Sensors_Examples_Probe.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches