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.0009026/0.0009026, allocations: 92.62 kB / 16.02 MB, free: 80 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.001064/0.001064, allocations: 180.5 kB / 16.92 MB, free: 6.652 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.34/1.34, allocations: 223.3 MB / 241 MB, free: 5.215 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.508/2.508, allocations: 443.2 MB / 0.7181 GB, free: 1.531 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003317/0.0003319, allocations: 9.062 kB / 0.8801 GB, free: 42.22 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.261/0.2613, allocations: 155.1 MB / 1.032 GB, free: 4.762 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.004681/0.2661, allocations: 3.817 MB / 1.035 GB, free: 0.9297 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003487/0.2696, allocations: 2.178 MB / 1.037 GB, free: 14.74 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002192/0.2698, allocations: 12 kB / 1.037 GB, free: 14.73 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.00022/0.2701, allocations: 63.48 kB / 1.038 GB, free: 14.67 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0005647/0.2706, allocations: 243 kB / 1.038 GB, free: 14.43 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007272/0.2714, allocations: 326.3 kB / 1.038 GB, free: 14.11 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0006948/0.2721, allocations: 0.8064 MB / 1.039 GB, free: 13.3 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001058/0.2731, allocations: 0.6494 MB / 1.04 GB, free: 12.63 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002303/0.2734, allocations: 179.2 kB / 1.04 GB, free: 12.46 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003818/0.2738, allocations: 267 kB / 1.04 GB, free: 12.2 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.855e-05/0.2738, allocations: 20 kB / 1.04 GB, free: 12.18 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004168/0.2742, allocations: 287.4 kB / 1.04 GB, free: 11.89 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001416/0.2744, allocations: 163.6 kB / 1.04 GB, free: 11.73 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001772/0.2746, allocations: 212.7 kB / 1.041 GB, free: 11.52 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.000471/0.2751, allocations: 0.4947 MB / 1.041 GB, free: 11.02 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.2751, allocations: 0 / 1.041 GB, free: 11.02 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.182e-06/0.2751, allocations: 0 / 1.041 GB, free: 11.02 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.793e-06/0.2751, allocations: 0 / 1.041 GB, free: 11.02 MB / 0.795 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.0009106/0.276, allocations: 0.6336 MB / 1.042 GB, free: 10.34 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.276, allocations: 8.031 kB / 1.042 GB, free: 10.34 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009368/0.277, allocations: 140.2 kB / 1.042 GB, free: 10.2 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003681/0.2774, allocations: 332.5 kB / 1.042 GB, free: 9.832 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.379e-05/0.2774, allocations: 25.38 kB / 1.042 GB, free: 9.809 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.975e-05/0.2775, allocations: 40.36 kB / 1.042 GB, free: 9.77 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008238/0.2783, allocations: 0.624 MB / 1.043 GB, free: 9.09 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.721e-05/0.2783, allocations: 3.938 kB / 1.043 GB, free: 9.086 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.611e-05/0.2784, allocations: 16 kB / 1.043 GB, free: 9.07 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.76e-05/0.2785, allocations: 44.62 kB / 1.043 GB, free: 9.027 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006968/0.2792, allocations: 474.2 kB / 1.043 GB, free: 8.562 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00309/0.2823, allocations: 3.428 MB / 1.047 GB, free: 4.848 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000649/0.2829, allocations: 378 kB / 1.047 GB, free: 4.461 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002833/0.2832, allocations: 173.6 kB / 1.047 GB, free: 4.285 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.304e-05/0.2833, allocations: 7.938 kB / 1.047 GB, free: 4.277 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.375e-05/0.2833, allocations: 30.56 kB / 1.047 GB, free: 4.238 MB / 0.795 GB Notification: Performance of pre-optimization done (n=25): time 2.093e-06/0.2833, allocations: 0 / 1.047 GB, free: 4.238 MB / 0.795 GB Notification: Performance of matching and sorting (n=26): time 0.004628/0.288, allocations: 1.476 MB / 1.049 GB, free: 2.711 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.537e-05/0.288, allocations: 85.11 kB / 1.049 GB, free: 2.609 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003248/0.2884, allocations: 324.4 kB / 1.049 GB, free: 2.285 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.99e-05/0.2884, allocations: 33.7 kB / 1.049 GB, free: 2.246 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.000145/0.2885, allocations: 259.3 kB / 1.049 GB, free: 1.988 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 7.329e-05/0.2886, allocations: 90.75 kB / 1.049 GB, free: 1.898 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.74e-05/0.2887, allocations: 37.7 kB / 1.049 GB, free: 1.855 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.2888, allocations: 342.8 kB / 1.05 GB, free: 1.512 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000254/0.2891, allocations: 177 kB / 1.05 GB, free: 1.336 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003445/0.2894, allocations: 342.1 kB / 1.05 GB, free: 0.9336 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006243/0.29, allocations: 0.5352 MB / 1.051 GB, free: 332 kB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.638e-06/0.2901, allocations: 4 kB / 1.051 GB, free: 328 kB / 0.795 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002257/0.2923, allocations: 0.9086 MB / 1.052 GB, free: 15.4 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.00015/0.2925, allocations: 257.1 kB / 1.052 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/0.2925, allocations: 7.984 kB / 1.052 GB, free: 15.06 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002248/0.2948, allocations: 0.501 MB / 1.052 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003802/0.2951, allocations: 95.81 kB / 1.053 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005113/0.3003, allocations: 3.798 MB / 1.056 GB, free: 10.39 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003771/0.3007, allocations: 39.81 kB / 1.056 GB, free: 10.35 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.612e-05/0.3007, allocations: 24 kB / 1.056 GB, free: 10.33 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 7.955e-06/0.3007, allocations: 4 kB / 1.056 GB, free: 10.32 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006705/0.3014, allocations: 476 kB / 1.057 GB, free: 9.859 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.3014, allocations: 8 kB / 1.057 GB, free: 9.852 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.547e-06/0.3014, allocations: 12.03 kB / 1.057 GB, free: 9.84 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003687/0.3018, allocations: 107.8 kB / 1.057 GB, free: 9.734 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.3018, allocations: 15.88 kB / 1.057 GB, free: 9.719 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002445/0.3021, allocations: 31.91 kB / 1.057 GB, free: 9.688 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.961e-05/0.3021, allocations: 20 kB / 1.057 GB, free: 9.668 MB / 0.8106 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.0002433/0.3024, allocations: 274.4 kB / 1.057 GB, free: 9.391 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.825e-05/0.3024, allocations: 31.62 kB / 1.057 GB, free: 9.359 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001648/0.3041, allocations: 0.6773 MB / 1.058 GB, free: 8.668 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.3041, allocations: 4 kB / 1.058 GB, free: 8.664 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.3041, allocations: 4 kB / 1.058 GB, free: 8.66 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.3041, allocations: 3.938 kB / 1.058 GB, free: 8.656 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008225/0.305, allocations: 0.6559 MB / 1.059 GB, free: 7.938 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.305, allocations: 4 kB / 1.059 GB, free: 7.934 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000184/0.3052, allocations: 39.97 kB / 1.059 GB, free: 7.895 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001479/0.3067, allocations: 401.3 kB / 1.059 GB, free: 7.496 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.527e-05/0.3067, allocations: 8 kB / 1.059 GB, free: 7.488 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003623/0.3103, allocations: 3.478 MB / 1.062 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.3103, allocations: 4.031 kB / 1.062 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001634/0.312, allocations: 0.8268 MB / 1.063 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001625/0.3122, allocations: 148.6 kB / 1.063 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.214e-05/0.3122, allocations: 8 kB / 1.063 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003419/0.3125, allocations: 35.94 kB / 1.063 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.522e-05/0.3126, allocations: 23.97 kB / 1.063 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.349e-05/0.3127, allocations: 8 kB / 1.063 GB, free: 2.641 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002223/0.3129, allocations: 231 kB / 1.064 GB, free: 2.414 MB / 0.8106 GB Notification: Performance of sort global known variables: time 3.4e-07/0.3129, allocations: 4 kB / 1.064 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0008209/0.3137, allocations: 192 kB / 1.064 GB, free: 2.223 MB / 0.8106 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.0001704/0.3139, allocations: 107.2 kB / 1.064 GB, free: 2.109 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001571/0.3155, allocations: 0.9606 MB / 1.065 GB, free: 1.125 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.3155, allocations: 0.6875 kB / 1.065 GB, free: 1.125 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0006886/0.3162, allocations: 485.7 kB / 1.065 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006077/0.3168, allocations: 65.19 kB / 1.065 GB, free: 0.5625 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001274/0.3181, allocations: 0.9799 MB / 1.066 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003874/0.3185, allocations: 0.8509 MB / 1.067 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.603e-05/0.3186, allocations: 27.44 kB / 1.067 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of SimCode: time 5.51e-07/0.3186, allocations: 0 / 1.067 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of Templates: time 0.01024/0.3289, allocations: 8.271 MB / 1.075 GB, free: 6.371 MB / 0.8262 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