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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.006941/0.006941, allocations: 100.9 kB / 15.87 MB, free: 5.867 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.001539/0.001539, allocations: 192.7 kB / 16.79 MB, free: 5.809 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.393/1.393, allocations: 222.9 MB / 240.5 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.805/2.805, allocations: 461.9 MB / 0.7348 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 62.48 kB / 0.8991 GB, free: 37.1 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3296/0.3309, allocations: 157.4 MB / 1.053 GB, free: 8.34 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.007691/0.3387, allocations: 4.197 MB / 1.057 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.004727/0.3434, allocations: 2.377 MB / 1.059 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000406/0.3439, allocations: 4 kB / 1.059 GB, free: 1.73 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001648/0.3456, allocations: 0.5061 MB / 1.06 GB, free: 1.223 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.001187/0.3468, allocations: 270.9 kB / 1.06 GB, free: 0.957 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001116/0.3479, allocations: 322.2 kB / 1.06 GB, free: 0.6445 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.001003/0.3489, allocations: 0.8102 MB / 1.061 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007078/0.3496, allocations: 369.5 kB / 1.061 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004488/0.3501, allocations: 199.3 kB / 1.062 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000627/0.3507, allocations: 287 kB / 1.062 GB, free: 15 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 7.582e-05/0.3508, allocations: 28 kB / 1.062 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008565/0.3517, allocations: 331.4 kB / 1.062 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002042/0.3519, allocations: 167.5 kB / 1.062 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002821/0.3522, allocations: 214.9 kB / 1.063 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006452/0.3529, allocations: 0.4989 MB / 1.063 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.3529, allocations: 0 / 1.063 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of FrontEnd: time 7.51e-07/0.3529, allocations: 8 kB / 1.063 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.496e-05/0.3529, allocations: 0 / 1.063 GB, free: 13.77 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.001419/0.3544, allocations: 0.7212 MB / 1.064 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.3544, allocations: 15.97 kB / 1.064 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001313/0.3557, allocations: 160.3 kB / 1.064 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005659/0.3563, allocations: 320.4 kB / 1.064 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.084e-05/0.3563, allocations: 33.36 kB / 1.064 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.563e-05/0.3564, allocations: 36.38 kB / 1.064 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001045/0.3575, allocations: 0.6341 MB / 1.065 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.772e-05/0.3575, allocations: 0 / 1.065 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.006e-05/0.3576, allocations: 19.98 kB / 1.065 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.756e-05/0.3577, allocations: 52.56 kB / 1.065 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001055/0.3587, allocations: 490.1 kB / 1.065 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004698/0.3635, allocations: 3.436 MB / 1.069 GB, free: 7.43 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008522/0.3643, allocations: 380.9 kB / 1.069 GB, free: 7.039 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002586/0.3646, allocations: 173.6 kB / 1.069 GB, free: 6.863 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.489e-05/0.3647, allocations: 7.984 kB / 1.069 GB, free: 6.855 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.036e-05/0.3647, allocations: 42.56 kB / 1.069 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=25): time 2.074e-06/0.3647, allocations: 0 / 1.069 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of matching and sorting (n=26): time 0.005237/0.37, allocations: 1.45 MB / 1.071 GB, free: 5.305 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.073e-05/0.37, allocations: 85.05 kB / 1.071 GB, free: 5.203 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005095/0.3706, allocations: 340.4 kB / 1.071 GB, free: 4.863 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.484e-05/0.3706, allocations: 29.7 kB / 1.071 GB, free: 4.828 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002049/0.3708, allocations: 255.3 kB / 1.071 GB, free: 4.57 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001574/0.371, allocations: 94.67 kB / 1.072 GB, free: 4.477 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001786/0.3712, allocations: 102.1 kB / 1.072 GB, free: 4.371 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0002333/0.3714, allocations: 338.8 kB / 1.072 GB, free: 4.031 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003592/0.3718, allocations: 194.9 kB / 1.072 GB, free: 3.84 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000515/0.3723, allocations: 342.1 kB / 1.072 GB, free: 3.434 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007686/0.3731, allocations: 0.5512 MB / 1.073 GB, free: 2.809 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.6e-06/0.3731, allocations: 8 kB / 1.073 GB, free: 2.801 MB / 0.8262 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002657/0.3758, allocations: 0.9081 MB / 1.074 GB, free: 1.879 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.707e-05/0.3758, allocations: 8 kB / 1.074 GB, free: 1.871 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.441e-05/0.3758, allocations: 11.98 kB / 1.074 GB, free: 1.859 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002418/0.3782, allocations: 0.4974 MB / 1.074 GB, free: 1.355 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004646/0.3787, allocations: 99.81 kB / 1.075 GB, free: 1.258 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006402/0.3851, allocations: 3.768 MB / 1.078 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005464/0.3857, allocations: 47.73 kB / 1.078 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.666e-05/0.3858, allocations: 28.05 kB / 1.078 GB, free: 13.15 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006102/0.3864, allocations: 313.1 kB / 1.079 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004183/0.3869, allocations: 335.8 kB / 1.079 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007009/0.3876, allocations: 0.5033 MB / 1.079 GB, free: 11.85 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.659e-06/0.3876, allocations: 4 kB / 1.079 GB, free: 11.85 MB / 0.8419 GB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.00112/0.3887, allocations: 0.5362 MB / 1.08 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.3887, allocations: 10.03 kB / 1.08 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.3887, allocations: 8 kB / 1.08 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.3888, allocations: 11.98 kB / 1.08 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004529/0.3892, allocations: 111.8 kB / 1.08 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.426e-05/0.3892, allocations: 15.94 kB / 1.08 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004236/0.3897, allocations: 44.28 kB / 1.08 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.022e-05/0.3897, allocations: 23.98 kB / 1.08 GB, free: 11.09 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.0002208/0.39, allocations: 212.1 kB / 1.08 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001092/0.3901, allocations: 31.62 kB / 1.08 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002001/0.3921, allocations: 0.6749 MB / 1.081 GB, free: 10.15 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.3921, allocations: 0 / 1.081 GB, free: 10.15 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.726e-06/0.3921, allocations: 4 kB / 1.081 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.91e-06/0.3921, allocations: 0 / 1.081 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001145/0.3933, allocations: 0.6598 MB / 1.082 GB, free: 9.422 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.3933, allocations: 8.094 kB / 1.082 GB, free: 9.414 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002122/0.3935, allocations: 43.91 kB / 1.082 GB, free: 9.371 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001685/0.3952, allocations: 397.2 kB / 1.082 GB, free: 8.977 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.934e-05/0.3952, allocations: 4 kB / 1.082 GB, free: 8.973 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004916/0.4002, allocations: 3.482 MB / 1.086 GB, free: 5.227 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.4002, allocations: 0 / 1.086 GB, free: 5.227 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00215/0.4024, allocations: 0.8297 MB / 1.086 GB, free: 4.363 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002281/0.4026, allocations: 148.5 kB / 1.086 GB, free: 4.199 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.883e-05/0.4027, allocations: 4 kB / 1.086 GB, free: 4.195 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004049/0.4031, allocations: 35.94 kB / 1.086 GB, free: 4.16 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.302e-05/0.4032, allocations: 23.97 kB / 1.087 GB, free: 4.137 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.299e-05/0.4032, allocations: 8 kB / 1.087 GB, free: 4.129 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003305/0.4035, allocations: 235 kB / 1.087 GB, free: 3.902 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.9e-07/0.4036, allocations: 4 kB / 1.087 GB, free: 3.898 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000968/0.4045, allocations: 196 kB / 1.087 GB, free: 3.707 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.000366/0.4049, allocations: 115.1 kB / 1.087 GB, free: 3.582 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.002163/0.4071, allocations: 0.9731 MB / 1.088 GB, free: 2.586 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.4071, allocations: 0 / 1.088 GB, free: 2.586 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0007729/0.4079, allocations: 473.1 kB / 1.088 GB, free: 2.098 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007133/0.4086, allocations: 74.23 kB / 1.089 GB, free: 2.027 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002156/0.4108, allocations: 0.9505 MB / 1.089 GB, free: 1.027 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006066/0.4114, allocations: 0.8509 MB / 1.09 GB, free: 152 kB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001228/0.4115, allocations: 31.42 kB / 1.09 GB, free: 120 kB / 0.8419 GB Notification: Performance of SimCode: time 5.61e-07/0.4115, allocations: 0 / 1.09 GB, free: 120 kB / 0.8419 GB Notification: Performance of Templates: time 0.01346/0.425, allocations: 8.426 MB / 1.099 GB, free: 7.699 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/jenkins1/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