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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001586/0.001586, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001832/0.001832, allocations: 195.3 kB / 16.53 MB, free: 6.664 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.389/1.389, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.902/2.902, allocations: 472.6 MB / 0.7451 GB, free: 4.609 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 63.73 kB / 0.9121 GB, free: 33.35 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2929/0.2942, allocations: 159.9 MB / 1.068 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.006077/0.3003, allocations: 4.155 MB / 1.072 GB, free: 6.176 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004415/0.3047, allocations: 2.357 MB / 1.075 GB, free: 3.809 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001843/0.3049, allocations: 8 kB / 1.075 GB, free: 3.801 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001506/0.3064, allocations: 0.5409 MB / 1.075 GB, free: 3.258 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0005891/0.307, allocations: 294.6 kB / 1.075 GB, free: 2.969 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009449/0.308, allocations: 349.9 kB / 1.076 GB, free: 2.629 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005514/0.3086, allocations: 0.5607 MB / 1.076 GB, free: 2.066 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005429/0.3091, allocations: 368 kB / 1.077 GB, free: 1.703 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002624/0.3094, allocations: 235.1 kB / 1.077 GB, free: 1.473 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004231/0.3098, allocations: 275 kB / 1.077 GB, free: 1.203 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.091e-05/0.3099, allocations: 39.94 kB / 1.077 GB, free: 1.164 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004852/0.3104, allocations: 287.5 kB / 1.077 GB, free: 0.8828 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001721/0.3106, allocations: 179.5 kB / 1.078 GB, free: 0.707 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002228/0.3108, allocations: 214.9 kB / 1.078 GB, free: 0.4961 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0007394/0.3115, allocations: 0.6543 MB / 1.078 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.3115, allocations: 0 / 1.078 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.342e-06/0.3116, allocations: 0 / 1.078 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.022e-05/0.3116, allocations: 4 kB / 1.078 GB, free: 15.83 MB / 0.8419 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.001131/0.3127, allocations: 0.7174 MB / 1.079 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.3128, allocations: 12.03 kB / 1.079 GB, free: 15.06 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00115/0.3139, allocations: 160.2 kB / 1.079 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004212/0.3144, allocations: 312.6 kB / 1.08 GB, free: 14.56 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.422e-05/0.3144, allocations: 33.31 kB / 1.08 GB, free: 14.53 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.324e-05/0.3145, allocations: 32.38 kB / 1.08 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009796/0.3154, allocations: 0.6419 MB / 1.08 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.116e-05/0.3155, allocations: 0 / 1.08 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.453e-05/0.3155, allocations: 23.92 kB / 1.08 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.794e-05/0.3156, allocations: 44.62 kB / 1.08 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008108/0.3164, allocations: 490.1 kB / 1.081 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003972/0.3204, allocations: 3.436 MB / 1.084 GB, free: 9.531 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007467/0.3212, allocations: 380.9 kB / 1.085 GB, free: 9.141 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002618/0.3215, allocations: 172.1 kB / 1.085 GB, free: 8.969 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.3e-05/0.3215, allocations: 7.984 kB / 1.085 GB, free: 8.961 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/0.3215, allocations: 38.56 kB / 1.085 GB, free: 8.914 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=25): time 2.004e-06/0.3215, allocations: 0 / 1.085 GB, free: 8.914 MB / 0.8419 GB Notification: Performance of matching and sorting (n=26): time 0.004622/0.3262, allocations: 1.447 MB / 1.086 GB, free: 7.414 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.174e-05/0.3262, allocations: 85.05 kB / 1.086 GB, free: 7.312 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004075/0.3267, allocations: 344.4 kB / 1.087 GB, free: 6.969 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.48e-05/0.3267, allocations: 25.7 kB / 1.087 GB, free: 6.938 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001954/0.3269, allocations: 267.2 kB / 1.087 GB, free: 6.668 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 7.398e-05/0.327, allocations: 86.75 kB / 1.087 GB, free: 6.582 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001596/0.3272, allocations: 102 kB / 1.087 GB, free: 6.477 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.3273, allocations: 338.8 kB / 1.087 GB, free: 6.137 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00033/0.3276, allocations: 187 kB / 1.088 GB, free: 5.949 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004272/0.3281, allocations: 353.9 kB / 1.088 GB, free: 5.531 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007019/0.3288, allocations: 0.5436 MB / 1.088 GB, free: 4.914 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.3288, allocations: 4 kB / 1.088 GB, free: 4.91 MB / 0.8419 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002355/0.3312, allocations: 0.9124 MB / 1.089 GB, free: 3.984 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.3312, allocations: 12.03 kB / 1.089 GB, free: 3.973 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.3312, allocations: 4 kB / 1.089 GB, free: 3.969 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002498/0.3337, allocations: 0.497 MB / 1.09 GB, free: 3.465 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004021/0.3341, allocations: 103.8 kB / 1.09 GB, free: 3.363 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005813/0.34, allocations: 4.064 MB / 1.094 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005085/0.3405, allocations: 47.8 kB / 1.094 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.029e-05/0.3405, allocations: 27.98 kB / 1.094 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004991/0.341, allocations: 306.9 kB / 1.094 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000422/0.3415, allocations: 335.8 kB / 1.095 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007264/0.3422, allocations: 0.507 MB / 1.095 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.675e-06/0.3422, allocations: 7.938 kB / 1.095 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.0009318/0.3432, allocations: 0.5399 MB / 1.096 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.3432, allocations: 8 kB / 1.096 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.3432, allocations: 8 kB / 1.096 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.3432, allocations: 11.94 kB / 1.096 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004186/0.3436, allocations: 107.8 kB / 1.096 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.234e-05/0.3437, allocations: 15.94 kB / 1.096 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000356/0.344, allocations: 44.22 kB / 1.096 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.202e-05/0.3441, allocations: 23.98 kB / 1.096 GB, free: 12.88 MB / 0.8575 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.0001721/0.3442, allocations: 216 kB / 1.096 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.841e-05/0.3443, allocations: 31.62 kB / 1.096 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001616/0.346, allocations: 0.6704 MB / 1.097 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.346, allocations: 0 / 1.097 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-06/0.346, allocations: 7.984 kB / 1.097 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.346, allocations: 0 / 1.097 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008892/0.3469, allocations: 0.6597 MB / 1.097 GB, free: 11.22 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.3469, allocations: 4.094 kB / 1.097 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001873/0.3471, allocations: 55.89 kB / 1.097 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001455/0.3486, allocations: 397.2 kB / 1.098 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.288e-05/0.3486, allocations: 4 kB / 1.098 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003944/0.3526, allocations: 3.757 MB / 1.101 GB, free: 6.723 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.3526, allocations: 0 / 1.101 GB, free: 6.723 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001577/0.3541, allocations: 0.8258 MB / 1.102 GB, free: 5.863 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001595/0.3543, allocations: 144.6 kB / 1.102 GB, free: 5.703 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.295e-05/0.3544, allocations: 11.91 kB / 1.102 GB, free: 5.691 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00036/0.3547, allocations: 39.94 kB / 1.102 GB, free: 5.652 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.304e-05/0.3548, allocations: 23.97 kB / 1.102 GB, free: 5.629 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.963e-05/0.3549, allocations: 11.94 kB / 1.102 GB, free: 5.617 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0003191/0.3552, allocations: 235 kB / 1.103 GB, free: 5.391 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3552, allocations: 0 / 1.103 GB, free: 5.391 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0008377/0.356, allocations: 196 kB / 1.103 GB, free: 5.199 MB / 0.8575 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.0001698/0.3562, allocations: 115.2 kB / 1.103 GB, free: 5.074 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.00168/0.3579, allocations: 1.002 MB / 1.104 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.3579, allocations: 1.75 kB / 1.104 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0006875/0.3586, allocations: 0.4902 MB / 1.104 GB, free: 3.531 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005867/0.3592, allocations: 69.91 kB / 1.105 GB, free: 3.461 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001144/0.3604, allocations: 0.7543 MB / 1.105 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004142/0.3608, allocations: 0.8507 MB / 1.106 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0003953/0.3612, allocations: 139.1 kB / 1.106 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.143e-05/0.3613, allocations: 35.38 kB / 1.106 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of SimCode: time 3.1e-07/0.3613, allocations: 0 / 1.106 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of Templates: time 0.01226/0.3735, allocations: 7.352 MB / 1.113 GB, free: 10.32 MB / 0.8731 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