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.001665/0.001665, allocations: 105 kB / 16.41 MB, free: 6.465 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.001711/0.001711, allocations: 187 kB / 17.34 MB, free: 5.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.363/1.363, allocations: 222.9 MB / 241 MB, free: 15.1 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.19/2.19, allocations: 390.3 MB / 0.6655 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 63.89 kB / 0.9515 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.096/1.097, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.006064/1.103, allocations: 4.167 MB / 1.093 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004042/1.107, allocations: 2.346 MB / 1.095 GB, free: 1.141 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002625/1.107, allocations: 10.97 kB / 1.095 GB, free: 1.137 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001583/1.109, allocations: 0.5376 MB / 1.095 GB, free: 0.8164 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0008432/1.11, allocations: 304.1 kB / 1.096 GB, free: 0.6445 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001093/1.111, allocations: 344.1 kB / 1.096 GB, free: 492 kB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0008525/1.112, allocations: 0.5663 MB / 1.097 GB, free: 240 kB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006306/1.113, allocations: 366.3 kB / 1.097 GB, free: 84 kB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004163/1.113, allocations: 238.2 kB / 1.097 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005714/1.114, allocations: 278.3 kB / 1.098 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 8.514e-05/1.114, allocations: 35.47 kB / 1.098 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000714/1.114, allocations: 280.9 kB / 1.098 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002341/1.115, allocations: 176.6 kB / 1.098 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0002707/1.115, allocations: 219.1 kB / 1.098 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001052/1.116, allocations: 0.6525 MB / 1.099 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/1.116, allocations: 0 / 1.099 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of FrontEnd: time 4.218e-06/1.116, allocations: 1.188 kB / 1.099 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.045e-05/1.116, allocations: 3.938 kB / 1.099 GB, free: 15.37 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.001308/1.117, allocations: 0.7275 MB / 1.1 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/1.117, allocations: 10.5 kB / 1.1 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001272/1.119, allocations: 157.1 kB / 1.1 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005313/1.119, allocations: 334.2 kB / 1.1 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.689e-05/1.119, allocations: 28.59 kB / 1.1 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.628e-05/1.119, allocations: 39.8 kB / 1.1 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001177/1.121, allocations: 0.6334 MB / 1.101 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.332e-05/1.121, allocations: 9.969 kB / 1.101 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.734e-05/1.121, allocations: 16.77 kB / 1.101 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001058/1.121, allocations: 46.25 kB / 1.101 GB, free: 14.1 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001017/1.122, allocations: 493.9 kB / 1.101 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004403/1.126, allocations: 3.423 MB / 1.105 GB, free: 11.04 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008581/1.127, allocations: 373.5 kB / 1.105 GB, free: 10.88 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003005/1.127, allocations: 169 kB / 1.105 GB, free: 10.8 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.97e-05/1.127, allocations: 6.609 kB / 1.105 GB, free: 10.8 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.628e-05/1.127, allocations: 41.94 kB / 1.105 GB, free: 10.75 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=25): time 1.914e-06/1.127, allocations: 0 / 1.105 GB, free: 10.75 MB / 0.8731 GB Notification: Performance of matching and sorting (n=26): time 0.005114/1.133, allocations: 1.462 MB / 1.107 GB, free: 10.22 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.426e-05/1.133, allocations: 83.44 kB / 1.107 GB, free: 10.12 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004773/1.133, allocations: 333.3 kB / 1.107 GB, free: 9.953 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.794e-05/1.133, allocations: 32.64 kB / 1.107 GB, free: 9.918 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001941/1.133, allocations: 262.4 kB / 1.107 GB, free: 9.695 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001027/1.134, allocations: 92.11 kB / 1.107 GB, free: 9.625 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001748/1.134, allocations: 99.28 kB / 1.107 GB, free: 9.566 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001473/1.134, allocations: 339.7 kB / 1.108 GB, free: 9.242 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003961/1.134, allocations: 193.8 kB / 1.108 GB, free: 9.172 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004981/1.135, allocations: 343.4 kB / 1.108 GB, free: 8.902 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008211/1.136, allocations: 0.5411 MB / 1.109 GB, free: 8.527 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/1.136, allocations: 5.188 kB / 1.109 GB, free: 8.523 MB / 0.8731 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002619/1.138, allocations: 0.9176 MB / 1.11 GB, free: 8.238 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/1.138, allocations: 8 kB / 1.11 GB, free: 8.238 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.422e-05/1.138, allocations: 5.5 kB / 1.11 GB, free: 8.238 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002359/1.141, allocations: 0.5011 MB / 1.11 GB, free: 8.188 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004602/1.141, allocations: 101.2 kB / 1.11 GB, free: 8.176 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006889/1.148, allocations: 4.057 MB / 1.114 GB, free: 5.047 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006857/1.149, allocations: 44.39 kB / 1.114 GB, free: 5.035 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-05/1.149, allocations: 23.23 kB / 1.114 GB, free: 5.031 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006105/1.149, allocations: 307.3 kB / 1.115 GB, free: 4.871 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004682/1.15, allocations: 340.3 kB / 1.115 GB, free: 4.586 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007431/1.151, allocations: 0.5103 MB / 1.115 GB, free: 4.211 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.727e-06/1.151, allocations: 1.5 kB / 1.115 GB, free: 4.211 MB / 0.8731 GB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.0009905/1.152, allocations: 0.5329 MB / 1.116 GB, free: 3.992 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/1.152, allocations: 10.8 kB / 1.116 GB, free: 3.992 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/1.152, allocations: 10.94 kB / 1.116 GB, free: 3.988 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/1.152, allocations: 16.25 kB / 1.116 GB, free: 3.98 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004307/1.152, allocations: 113.2 kB / 1.116 GB, free: 3.969 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.668e-05/1.152, allocations: 13.02 kB / 1.116 GB, free: 3.965 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004143/1.153, allocations: 43.08 kB / 1.116 GB, free: 3.949 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.517e-05/1.153, allocations: 26.73 kB / 1.116 GB, free: 3.941 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.0002115/1.153, allocations: 213 kB / 1.116 GB, free: 3.734 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.885e-05/1.153, allocations: 36.98 kB / 1.116 GB, free: 3.715 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001833/1.155, allocations: 0.6711 MB / 1.117 GB, free: 3.488 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/1.155, allocations: 3.812 kB / 1.117 GB, free: 3.488 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/1.155, allocations: 1.812 kB / 1.117 GB, free: 3.488 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.745e-06/1.155, allocations: 1.5 kB / 1.117 GB, free: 3.488 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00118/1.156, allocations: 0.6633 MB / 1.118 GB, free: 3.031 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/1.156, allocations: 2.406 kB / 1.118 GB, free: 3.031 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000206/1.156, allocations: 41.52 kB / 1.118 GB, free: 3.031 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001539/1.158, allocations: 397.6 kB / 1.118 GB, free: 2.988 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.185e-05/1.158, allocations: 5.656 kB / 1.118 GB, free: 2.984 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004453/1.162, allocations: 3.763 MB / 1.122 GB, free: 15.88 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/1.162, allocations: 1.156 kB / 1.122 GB, free: 15.88 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001909/1.164, allocations: 0.8262 MB / 1.123 GB, free: 15.48 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002569/1.165, allocations: 143 kB / 1.123 GB, free: 15.36 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.718e-05/1.165, allocations: 7.219 kB / 1.123 GB, free: 15.35 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004194/1.165, allocations: 42.56 kB / 1.123 GB, free: 15.34 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.991e-05/1.165, allocations: 18.56 kB / 1.123 GB, free: 15.34 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.347e-05/1.165, allocations: 11.28 kB / 1.123 GB, free: 15.34 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0003579/1.166, allocations: 237.2 kB / 1.123 GB, free: 15.22 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.71e-07/1.166, allocations: 0 / 1.123 GB, free: 15.22 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001126/1.167, allocations: 196.6 kB / 1.123 GB, free: 15.2 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.000198/1.167, allocations: 114.9 kB / 1.123 GB, free: 15.09 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002065/1.169, allocations: 0.981 MB / 1.124 GB, free: 14.62 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/1.169, allocations: 0.6875 kB / 1.124 GB, free: 14.62 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.000822/1.17, allocations: 0.4918 MB / 1.125 GB, free: 14.31 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006434/1.171, allocations: 70.47 kB / 1.125 GB, free: 14.28 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00172/1.172, allocations: 0.7915 MB / 1.126 GB, free: 13.82 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006056/1.173, allocations: 0.8465 MB / 1.126 GB, free: 13.1 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001367/1.173, allocations: 32.8 kB / 1.127 GB, free: 13.09 MB / 0.8887 GB Notification: Performance of SimCode: time 3e-07/1.173, allocations: 0 / 1.127 GB, free: 13.09 MB / 0.8887 GB Notification: Performance of Templates: time 0.01831/1.191, allocations: 8.464 MB / 1.135 GB, free: 12.45 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/jenkins1/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