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.00161/0.00161, allocations: 115.5 kB / 16.42 MB, free: 5.988 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.001783/0.001783, allocations: 184.5 kB / 17.35 MB, free: 5.602 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.423/1.423, allocations: 222.9 MB / 241 MB, free: 15.18 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.35/2.35, allocations: 390.3 MB / 0.6655 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001537/0.001537, allocations: 71.88 kB / 0.9515 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.225/1.226, allocations: 140.4 MB / 1.089 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.01045/1.237, allocations: 4.173 MB / 1.093 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.006424/1.243, allocations: 2.345 MB / 1.095 GB, free: 1.133 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005447/1.244, allocations: 10.41 kB / 1.095 GB, free: 1.129 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.002254/1.246, allocations: 0.5355 MB / 1.096 GB, free: 0.8086 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001475/1.248, allocations: 303.7 kB / 1.096 GB, free: 0.6367 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001804/1.25, allocations: 351.8 kB / 1.096 GB, free: 480 kB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001448/1.251, allocations: 0.5627 MB / 1.097 GB, free: 232 kB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009627/1.252, allocations: 366.5 kB / 1.097 GB, free: 76 kB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007139/1.253, allocations: 233.1 kB / 1.097 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008672/1.254, allocations: 278.9 kB / 1.098 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001428/1.254, allocations: 35.12 kB / 1.098 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001112/1.255, allocations: 285.2 kB / 1.098 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0003782/1.255, allocations: 176 kB / 1.098 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0004424/1.256, allocations: 220.1 kB / 1.098 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001756/1.258, allocations: 0.6518 MB / 1.099 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 9.558e-06/1.258, allocations: 4.562 kB / 1.099 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.976e-06/1.258, allocations: 3.938 kB / 1.099 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.407e-05/1.258, allocations: 1.125 kB / 1.099 GB, free: 15.36 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.002193/1.26, allocations: 0.7207 MB / 1.1 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 6.616e-05/1.26, allocations: 9.25 kB / 1.1 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002078/1.262, allocations: 158 kB / 1.1 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008764/1.263, allocations: 338.1 kB / 1.1 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.202e-05/1.263, allocations: 24.72 kB / 1.1 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001314/1.263, allocations: 39.98 kB / 1.1 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001819/1.265, allocations: 0.6408 MB / 1.101 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.094e-05/1.265, allocations: 6.219 kB / 1.101 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.66e-05/1.265, allocations: 12.47 kB / 1.101 GB, free: 14.1 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001502/1.265, allocations: 42.72 kB / 1.101 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001664/1.267, allocations: 492.8 kB / 1.101 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006735/1.274, allocations: 3.429 MB / 1.105 GB, free: 11.03 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001334/1.275, allocations: 376 kB / 1.105 GB, free: 10.86 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003264/1.275, allocations: 174.2 kB / 1.105 GB, free: 10.79 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.272e-05/1.275, allocations: 3.125 kB / 1.105 GB, free: 10.79 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.087e-05/1.275, allocations: 37.69 kB / 1.105 GB, free: 10.75 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=25): time 2.835e-06/1.276, allocations: 0 / 1.105 GB, free: 10.75 MB / 0.8731 GB Notification: Performance of matching and sorting (n=26): time 0.005594/1.281, allocations: 1.457 MB / 1.107 GB, free: 10.22 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.116e-05/1.281, allocations: 92.12 kB / 1.107 GB, free: 10.11 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006324/1.282, allocations: 333.7 kB / 1.107 GB, free: 9.941 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.972e-05/1.282, allocations: 31.27 kB / 1.107 GB, free: 9.906 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002326/1.282, allocations: 262.9 kB / 1.107 GB, free: 9.684 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001249/1.282, allocations: 96.27 kB / 1.107 GB, free: 9.609 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001867/1.282, allocations: 95.19 kB / 1.107 GB, free: 9.555 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0003905/1.283, allocations: 339.8 kB / 1.108 GB, free: 9.23 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004007/1.283, allocations: 189.1 kB / 1.108 GB, free: 9.164 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005295/1.284, allocations: 348.8 kB / 1.108 GB, free: 8.891 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008819/1.285, allocations: 0.5439 MB / 1.109 GB, free: 8.512 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/1.285, allocations: 1.312 kB / 1.109 GB, free: 8.512 MB / 0.8731 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002849/1.288, allocations: 0.9152 MB / 1.11 GB, free: 8.23 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.326e-05/1.288, allocations: 7.094 kB / 1.11 GB, free: 8.23 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.434e-05/1.288, allocations: 5.656 kB / 1.11 GB, free: 8.23 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002631/1.29, allocations: 0.5049 MB / 1.11 GB, free: 8.176 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004949/1.291, allocations: 96.34 kB / 1.11 GB, free: 8.168 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007036/1.298, allocations: 4.055 MB / 1.114 GB, free: 5.043 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006701/1.299, allocations: 49.03 kB / 1.114 GB, free: 5.027 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.911e-05/1.299, allocations: 22.91 kB / 1.114 GB, free: 5.023 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006101/1.299, allocations: 307.1 kB / 1.115 GB, free: 4.863 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004769/1.3, allocations: 340.3 kB / 1.115 GB, free: 4.578 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007584/1.3, allocations: 0.5039 MB / 1.115 GB, free: 4.211 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.14e-06/1.3, allocations: 1.531 kB / 1.115 GB, free: 4.211 MB / 0.8731 GB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.001146/1.302, allocations: 0.5444 MB / 1.116 GB, free: 3.98 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/1.302, allocations: 7.156 kB / 1.116 GB, free: 3.98 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/1.302, allocations: 11.22 kB / 1.116 GB, free: 3.977 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.077e-06/1.302, allocations: 8.031 kB / 1.116 GB, free: 3.977 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004816/1.302, allocations: 117.2 kB / 1.116 GB, free: 3.961 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.519e-05/1.302, allocations: 13.62 kB / 1.116 GB, free: 3.957 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004756/1.303, allocations: 43.25 kB / 1.116 GB, free: 3.941 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.659e-05/1.303, allocations: 23.08 kB / 1.116 GB, free: 3.938 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.0002339/1.303, allocations: 212.6 kB / 1.116 GB, free: 3.73 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001051/1.303, allocations: 32.5 kB / 1.116 GB, free: 3.715 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001921/1.305, allocations: 0.6662 MB / 1.117 GB, free: 3.496 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.194e-05/1.305, allocations: 7.094 kB / 1.117 GB, free: 3.492 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/1.305, allocations: 4 kB / 1.117 GB, free: 3.488 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002451/1.305, allocations: 147.3 kB / 1.117 GB, free: 3.359 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.322e-05/1.305, allocations: 2.156 kB / 1.117 GB, free: 3.359 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003951/1.306, allocations: 38.58 kB / 1.117 GB, free: 3.355 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.277e-05/1.306, allocations: 24.64 kB / 1.117 GB, free: 3.352 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001476/1.307, allocations: 0.6677 MB / 1.118 GB, free: 3.031 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001005/1.308, allocations: 0.7333 MB / 1.119 GB, free: 2.594 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002992/1.309, allocations: 151.5 kB / 1.119 GB, free: 2.551 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004019/1.309, allocations: 238.7 kB / 1.119 GB, free: 2.422 MB / 0.8731 GB Notification: Performance of Backend: time 9.42e-07/1.309, allocations: 0 / 1.119 GB, free: 2.422 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002895/1.312, allocations: 1.051 MB / 1.12 GB, free: 1.898 MB / 0.8731 GB Notification: Performance of SimCode: time 0.001886/1.314, allocations: 1.199 MB / 1.121 GB, free: 1.027 MB / 0.8731 GB Notification: Performance of Templates: time 0.02431/1.338, allocations: 9.753 MB / 1.131 GB, free: 344 kB / 0.8731 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