Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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: 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_9_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_9_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.006674/0.006674, allocations: 97.95 kB / 15.73 MB, free: 6.062 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.001383/0.001383, allocations: 192.9 kB / 16.68 MB, free: 5.969 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.458/1.458, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.271/2.271, allocations: 390.2 MB / 0.6648 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 63.91 kB / 0.9508 GB, free: 7.703 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.156/1.157, allocations: 140.4 MB / 1.088 GB, free: 5.82 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.006219/1.163, allocations: 4.165 MB / 1.092 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004384/1.168, allocations: 2.349 MB / 1.094 GB, free: 1.434 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003063/1.168, allocations: 13.97 kB / 1.094 GB, free: 1.426 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001747/1.17, allocations: 0.5386 MB / 1.095 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001001/1.171, allocations: 300.1 kB / 1.095 GB, free: 0.9375 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001246/1.172, allocations: 348.4 kB / 1.095 GB, free: 0.7695 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0009856/1.173, allocations: 0.5626 MB / 1.096 GB, free: 0.5273 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007363/1.174, allocations: 359.2 kB / 1.096 GB, free: 388 kB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004917/1.175, allocations: 234.5 kB / 1.097 GB, free: 288 kB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005685/1.175, allocations: 282.7 kB / 1.097 GB, free: 168 kB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.691e-05/1.175, allocations: 34.84 kB / 1.097 GB, free: 168 kB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007364/1.176, allocations: 284.6 kB / 1.097 GB, free: 76 kB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002346/1.176, allocations: 177.5 kB / 1.097 GB, free: 8 kB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003222/1.177, allocations: 218.4 kB / 1.097 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001099/1.178, allocations: 0.6656 MB / 1.098 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 8.786e-06/1.178, allocations: 1.125 kB / 1.098 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.264e-06/1.178, allocations: 0 / 1.098 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 9.858e-06/1.178, allocations: 0 / 1.098 GB, free: 15.64 MB / 0.8731 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.001395/1.179, allocations: 0.7326 MB / 1.099 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/1.179, allocations: 9.219 kB / 1.099 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001365/1.181, allocations: 162.9 kB / 1.099 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005822/1.181, allocations: 326.3 kB / 1.099 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.17e-05/1.181, allocations: 28.25 kB / 1.099 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.477e-05/1.181, allocations: 40.95 kB / 1.099 GB, free: 14.74 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001253/1.183, allocations: 0.6387 MB / 1.1 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.129e-05/1.183, allocations: 0.9375 kB / 1.1 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.004e-05/1.183, allocations: 17.19 kB / 1.1 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.98e-05/1.183, allocations: 45.67 kB / 1.1 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001009/1.184, allocations: 493.6 kB / 1.101 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00451/1.188, allocations: 3.432 MB / 1.104 GB, free: 11.31 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009351/1.189, allocations: 376.1 kB / 1.104 GB, free: 11.14 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003037/1.19, allocations: 173.5 kB / 1.104 GB, free: 11.07 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.659e-05/1.19, allocations: 3.469 kB / 1.104 GB, free: 11.07 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.515e-05/1.19, allocations: 41.36 kB / 1.104 GB, free: 11.02 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=25): time 3.076e-06/1.19, allocations: 0 / 1.104 GB, free: 11.02 MB / 0.8731 GB Notification: Performance of matching and sorting (n=26): time 0.005146/1.195, allocations: 1.461 MB / 1.106 GB, free: 10.49 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.498e-05/1.195, allocations: 88.28 kB / 1.106 GB, free: 10.39 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005463/1.195, allocations: 341.4 kB / 1.106 GB, free: 10.21 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.677e-05/1.195, allocations: 32.3 kB / 1.106 GB, free: 10.18 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002071/1.196, allocations: 272.3 kB / 1.107 GB, free: 9.945 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001037/1.196, allocations: 90.88 kB / 1.107 GB, free: 9.875 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002095/1.196, allocations: 99.52 kB / 1.107 GB, free: 9.816 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001922/1.196, allocations: 341 kB / 1.107 GB, free: 9.492 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000424/1.197, allocations: 192 kB / 1.107 GB, free: 9.422 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005699/1.197, allocations: 344.6 kB / 1.108 GB, free: 9.152 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008317/1.198, allocations: 0.5482 MB / 1.108 GB, free: 8.77 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.778e-06/1.198, allocations: 2.406 kB / 1.108 GB, free: 8.77 MB / 0.8731 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002918/1.201, allocations: 0.9257 MB / 1.109 GB, free: 8.477 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.75e-05/1.201, allocations: 7.625 kB / 1.109 GB, free: 8.477 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-05/1.201, allocations: 4.969 kB / 1.109 GB, free: 8.477 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002457/1.204, allocations: 0.4969 MB / 1.11 GB, free: 8.43 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004743/1.204, allocations: 100.9 kB / 1.11 GB, free: 8.418 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006873/1.211, allocations: 4.058 MB / 1.114 GB, free: 5.289 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006919/1.212, allocations: 47.83 kB / 1.114 GB, free: 5.273 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001088/1.212, allocations: 23.7 kB / 1.114 GB, free: 5.27 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007148/1.212, allocations: 306.8 kB / 1.114 GB, free: 5.109 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000543/1.213, allocations: 340.2 kB / 1.114 GB, free: 4.824 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008645/1.214, allocations: 0.5033 MB / 1.115 GB, free: 4.457 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.115e-06/1.214, allocations: 1.438 kB / 1.115 GB, free: 4.457 MB / 0.8731 GB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.00117/1.215, allocations: 0.5455 MB / 1.115 GB, free: 4.227 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/1.215, allocations: 9.984 kB / 1.115 GB, free: 4.227 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.317e-05/1.215, allocations: 5.531 kB / 1.115 GB, free: 4.227 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/1.215, allocations: 13.2 kB / 1.115 GB, free: 4.223 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005054/1.216, allocations: 113.5 kB / 1.115 GB, free: 4.211 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.925e-05/1.216, allocations: 13.86 kB / 1.115 GB, free: 4.207 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005039/1.216, allocations: 42.92 kB / 1.116 GB, free: 4.191 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.046e-05/1.216, allocations: 22.8 kB / 1.116 GB, free: 4.188 MB / 0.8731 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.0002285/1.217, allocations: 213.1 kB / 1.116 GB, free: 3.98 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001405/1.217, allocations: 32.25 kB / 1.116 GB, free: 3.965 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001952/1.219, allocations: 0.6787 MB / 1.116 GB, free: 3.734 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.315e-06/1.219, allocations: 4.188 kB / 1.116 GB, free: 3.734 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/1.219, allocations: 0 / 1.116 GB, free: 3.734 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/1.219, allocations: 3.375 kB / 1.116 GB, free: 3.734 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001497/1.22, allocations: 0.6553 MB / 1.117 GB, free: 3.285 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-06/1.22, allocations: 1.844 kB / 1.117 GB, free: 3.285 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002387/1.22, allocations: 48.62 kB / 1.117 GB, free: 3.277 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001603/1.222, allocations: 401.4 kB / 1.118 GB, free: 3.23 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.698e-05/1.222, allocations: 6.312 kB / 1.118 GB, free: 3.227 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004666/1.227, allocations: 3.764 MB / 1.121 GB, free: 128 kB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.125e-06/1.227, allocations: 1.625 kB / 1.121 GB, free: 128 kB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001977/1.229, allocations: 0.8278 MB / 1.122 GB, free: 15.72 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000283/1.229, allocations: 146.6 kB / 1.122 GB, free: 15.59 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.229e-05/1.229, allocations: 7.703 kB / 1.122 GB, free: 15.59 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004413/1.23, allocations: 39.3 kB / 1.122 GB, free: 15.58 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.53e-05/1.23, allocations: 21.77 kB / 1.122 GB, free: 15.58 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.616e-05/1.23, allocations: 8.578 kB / 1.122 GB, free: 15.58 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0003918/1.23, allocations: 242.7 kB / 1.122 GB, free: 15.45 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.91e-07/1.23, allocations: 0 / 1.122 GB, free: 15.45 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001242/1.231, allocations: 190.8 kB / 1.123 GB, free: 15.43 MB / 0.8887 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.0002221/1.232, allocations: 115.2 kB / 1.123 GB, free: 15.33 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002106/1.234, allocations: 0.9847 MB / 1.124 GB, free: 14.86 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/1.234, allocations: 1.219 kB / 1.124 GB, free: 14.86 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0008406/1.235, allocations: 495.1 kB / 1.124 GB, free: 14.55 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007006/1.235, allocations: 77.66 kB / 1.124 GB, free: 14.51 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001634/1.237, allocations: 0.7518 MB / 1.125 GB, free: 14.09 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005726/1.238, allocations: 0.8455 MB / 1.126 GB, free: 13.36 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0004823/1.238, allocations: 140.7 kB / 1.126 GB, free: 13.35 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.828e-05/1.238, allocations: 27.44 kB / 1.126 GB, free: 13.34 MB / 0.8887 GB Notification: Performance of SimCode: time 3.21e-07/1.238, allocations: 3.938 kB / 1.126 GB, free: 13.34 MB / 0.8887 GB Notification: Performance of Templates: time 0.02015/1.258, allocations: 7.47 MB / 1.133 GB, free: 12.86 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Sensors_Examples_Probe.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches