Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) 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: 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_10_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_10_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.00162/0.00162, allocations: 116.2 kB / 16.42 MB, free: 6.02 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.001637/0.001637, allocations: 185.6 kB / 17.35 MB, free: 5.633 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.417/1.417, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.583/2.583, allocations: 437 MB / 0.7112 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001466, allocations: 68.11 kB / 1.019 GB, free: 9.383 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.118/1.119, allocations: 151.6 MB / 1.167 GB, free: 3.812 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.006213/1.125, allocations: 4.161 MB / 1.171 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.004363/1.13, allocations: 2.35 MB / 1.174 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003888/1.13, allocations: 11.94 kB / 1.174 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001762/1.132, allocations: 0.5347 MB / 1.174 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001014/1.133, allocations: 298.6 kB / 1.174 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001229/1.134, allocations: 351.1 kB / 1.175 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001004/1.135, allocations: 0.5685 MB / 1.175 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00068/1.136, allocations: 367.5 kB / 1.176 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000547/1.137, allocations: 239.2 kB / 1.176 GB, free: 10.93 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007339/1.137, allocations: 275 kB / 1.176 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001156/1.137, allocations: 36 kB / 1.176 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007228/1.138, allocations: 287.5 kB / 1.177 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002508/1.138, allocations: 175.6 kB / 1.177 GB, free: 10.17 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0003235/1.139, allocations: 211 kB / 1.177 GB, free: 9.965 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001089/1.14, allocations: 0.6599 MB / 1.178 GB, free: 9.305 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/1.14, allocations: 0 / 1.178 GB, free: 9.305 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.114e-06/1.14, allocations: 0 / 1.178 GB, free: 9.305 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.746e-05/1.14, allocations: 8 kB / 1.178 GB, free: 9.297 MB / 0.9044 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.001574/1.142, allocations: 0.7213 MB / 1.178 GB, free: 8.523 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.005e-05/1.142, allocations: 12.03 kB / 1.178 GB, free: 8.512 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001209/1.143, allocations: 156.2 kB / 1.178 GB, free: 8.359 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005165/1.143, allocations: 328.5 kB / 1.179 GB, free: 7.996 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.931e-05/1.143, allocations: 29.38 kB / 1.179 GB, free: 7.969 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.799e-05/1.143, allocations: 36.38 kB / 1.179 GB, free: 7.934 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009751/1.144, allocations: 0.638 MB / 1.179 GB, free: 7.242 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.806e-05/1.144, allocations: 4 kB / 1.179 GB, free: 7.238 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.249e-05/1.145, allocations: 16 kB / 1.179 GB, free: 7.223 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.537e-05/1.145, allocations: 48.56 kB / 1.179 GB, free: 7.176 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008162/1.145, allocations: 487.8 kB / 1.18 GB, free: 6.699 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003715/1.149, allocations: 3.432 MB / 1.183 GB, free: 2.98 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006928/1.15, allocations: 372.9 kB / 1.184 GB, free: 2.598 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002641/1.15, allocations: 177.6 kB / 1.184 GB, free: 2.418 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.11e-05/1.15, allocations: 4 kB / 1.184 GB, free: 2.414 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.395e-05/1.15, allocations: 38.56 kB / 1.184 GB, free: 2.367 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=25): time 2.685e-06/1.15, allocations: 0 / 1.184 GB, free: 2.367 MB / 0.9044 GB Notification: Performance of matching and sorting (n=26): time 0.004636/1.155, allocations: 1.457 MB / 1.185 GB, free: 0.8594 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.236e-05/1.155, allocations: 77.11 kB / 1.185 GB, free: 0.7656 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004309/1.155, allocations: 344.3 kB / 1.186 GB, free: 432 kB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.326e-05/1.155, allocations: 33.7 kB / 1.186 GB, free: 392 kB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002009/1.156, allocations: 255.3 kB / 1.186 GB, free: 128 kB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 7.972e-05/1.156, allocations: 94.75 kB / 1.186 GB, free: 32 kB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001724/1.156, allocations: 98.22 kB / 1.186 GB, free: 15.92 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001305/1.156, allocations: 338.8 kB / 1.186 GB, free: 15.58 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003128/1.156, allocations: 191 kB / 1.187 GB, free: 15.39 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004313/1.157, allocations: 346.1 kB / 1.187 GB, free: 14.98 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007101/1.158, allocations: 0.5518 MB / 1.188 GB, free: 14.36 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/1.158, allocations: 0 / 1.188 GB, free: 14.36 MB / 0.92 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002377/1.16, allocations: 0.9203 MB / 1.188 GB, free: 13.43 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.534e-05/1.16, allocations: 10.5 kB / 1.188 GB, free: 13.42 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/1.16, allocations: 7.938 kB / 1.188 GB, free: 13.41 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002228/1.162, allocations: 0.5013 MB / 1.189 GB, free: 12.9 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004168/1.163, allocations: 99.81 kB / 1.189 GB, free: 12.8 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005761/1.168, allocations: 4.054 MB / 1.193 GB, free: 8.473 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005393/1.169, allocations: 51.75 kB / 1.193 GB, free: 8.422 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.155e-05/1.169, allocations: 23.98 kB / 1.193 GB, free: 8.398 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004756/1.17, allocations: 301.1 kB / 1.193 GB, free: 8.102 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003887/1.17, allocations: 339.8 kB / 1.194 GB, free: 7.691 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006579/1.171, allocations: 0.5018 MB / 1.194 GB, free: 7.109 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.939e-06/1.171, allocations: 0 / 1.194 GB, free: 7.109 MB / 0.92 GB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.0009679/1.172, allocations: 0.5442 MB / 1.195 GB, free: 6.559 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/1.172, allocations: 8 kB / 1.195 GB, free: 6.551 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/1.172, allocations: 8.031 kB / 1.195 GB, free: 6.543 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.295e-06/1.172, allocations: 8 kB / 1.195 GB, free: 6.535 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004352/1.172, allocations: 119.7 kB / 1.195 GB, free: 6.418 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.199e-05/1.172, allocations: 11.94 kB / 1.195 GB, free: 6.406 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004148/1.173, allocations: 39.81 kB / 1.195 GB, free: 6.367 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.859e-05/1.173, allocations: 23.98 kB / 1.195 GB, free: 6.344 MB / 0.92 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.0001928/1.173, allocations: 204.2 kB / 1.195 GB, free: 6.137 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001061/1.173, allocations: 31.62 kB / 1.195 GB, free: 6.105 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001697/1.175, allocations: 0.6755 MB / 1.196 GB, free: 5.41 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.017e-06/1.175, allocations: 3.938 kB / 1.196 GB, free: 5.406 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/1.175, allocations: 4 kB / 1.196 GB, free: 5.402 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002182/1.175, allocations: 140.8 kB / 1.196 GB, free: 5.246 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.499e-05/1.175, allocations: 15.98 kB / 1.196 GB, free: 5.23 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000395/1.175, allocations: 35.94 kB / 1.196 GB, free: 5.195 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/1.175, allocations: 27.95 kB / 1.196 GB, free: 5.168 MB / 0.92 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001295/1.177, allocations: 0.6719 MB / 1.197 GB, free: 4.484 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009391/1.178, allocations: 0.7412 MB / 1.197 GB, free: 3.727 MB / 0.92 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002261/1.178, allocations: 147.9 kB / 1.198 GB, free: 3.582 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0003138/1.178, allocations: 239 kB / 1.198 GB, free: 3.348 MB / 0.92 GB Notification: Performance of Backend: time 8.41e-07/1.178, allocations: 0 / 1.198 GB, free: 3.348 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002663/1.181, allocations: 1.047 MB / 1.199 GB, free: 2.27 MB / 0.92 GB Notification: Performance of SimCode: time 0.002027/1.183, allocations: 1.193 MB / 1.2 GB, free: 1.035 MB / 0.92 GB Notification: Performance of Templates: time 0.01841/1.201, allocations: 9.755 MB / 1.209 GB, free: 7.316 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.makefile (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Sensors_Examples_Probe.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches