Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.GeneralizedSensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.I|sen.V|loa.S.1.|loa.S.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") translateModel(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.I|sen.V|loa.S.1.|loa.S.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001851/0.001851, allocations: 106.7 kB / 16.41 MB, free: 6.484 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.002031/0.002031, allocations: 189.6 kB / 17.35 MB, free: 5.75 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.437/1.437, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.608/2.608, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001655/0.001655, allocations: 67.89 kB / 1.055 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.06/1.062, allocations: 157.4 MB / 1.208 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.00564/1.067, allocations: 3.098 MB / 1.211 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003116/1.07, allocations: 1.71 MB / 1.213 GB, free: 8.773 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002226/1.071, allocations: 4 kB / 1.213 GB, free: 8.77 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001153/1.072, allocations: 338 kB / 1.213 GB, free: 8.441 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0006498/1.073, allocations: 215.1 kB / 1.214 GB, free: 8.23 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005362/1.073, allocations: 175.5 kB / 1.214 GB, free: 8.059 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0005211/1.074, allocations: 319 kB / 1.214 GB, free: 7.746 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004447/1.074, allocations: 248.5 kB / 1.214 GB, free: 7.5 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002941/1.074, allocations: 131.6 kB / 1.214 GB, free: 7.371 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000519/1.075, allocations: 159.5 kB / 1.215 GB, free: 7.215 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 8.163e-05/1.075, allocations: 20 kB / 1.215 GB, free: 7.195 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006255/1.076, allocations: 243.5 kB / 1.215 GB, free: 6.957 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001954/1.076, allocations: 107.7 kB / 1.215 GB, free: 6.852 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002227/1.076, allocations: 115.5 kB / 1.215 GB, free: 6.738 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001029/1.077, allocations: 432.6 kB / 1.215 GB, free: 6.316 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/1.077, allocations: 3.938 kB / 1.216 GB, free: 6.312 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.643e-06/1.077, allocations: 0 / 1.216 GB, free: 6.312 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.435e-05/1.077, allocations: 0 / 1.216 GB, free: 6.312 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.00129/1.078, allocations: 0.542 MB / 1.216 GB, free: 5.723 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/1.079, allocations: 8.031 kB / 1.216 GB, free: 5.715 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008186/1.079, allocations: 100.5 kB / 1.216 GB, free: 5.617 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003984/1.08, allocations: 257.5 kB / 1.216 GB, free: 5.328 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.215e-05/1.08, allocations: 20.75 kB / 1.216 GB, free: 5.309 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001052/1.08, allocations: 24.47 kB / 1.216 GB, free: 5.285 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006159/1.081, allocations: 377.2 kB / 1.217 GB, free: 4.891 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.678e-05/1.081, allocations: 4 kB / 1.217 GB, free: 4.887 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.165e-05/1.081, allocations: 4 kB / 1.217 GB, free: 4.883 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001008/1.081, allocations: 28.42 kB / 1.217 GB, free: 4.855 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005176/1.081, allocations: 313.4 kB / 1.217 GB, free: 4.551 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001918/1.083, allocations: 1.521 MB / 1.219 GB, free: 2.875 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004365/1.084, allocations: 238.3 kB / 1.219 GB, free: 2.633 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001634/1.084, allocations: 112.8 kB / 1.219 GB, free: 2.52 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001571/1.084, allocations: 93.09 kB / 1.219 GB, free: 2.41 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.676e-05/1.084, allocations: 30.56 kB / 1.219 GB, free: 2.371 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=18): time 1.643e-06/1.084, allocations: 0 / 1.219 GB, free: 2.371 MB / 0.9356 GB Notification: Performance of matching and sorting (n=19): time 0.001349/1.085, allocations: 0.7861 MB / 1.22 GB, free: 1.535 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.338e-05/1.085, allocations: 59.36 kB / 1.22 GB, free: 1.465 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002305/1.086, allocations: 203 kB / 1.22 GB, free: 1.258 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.697e-05/1.086, allocations: 29.7 kB / 1.22 GB, free: 1.223 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000114/1.086, allocations: 167.8 kB / 1.22 GB, free: 1.055 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 6.119e-05/1.086, allocations: 70.98 kB / 1.22 GB, free: 0.9844 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001067/1.086, allocations: 53.61 kB / 1.22 GB, free: 0.9258 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001563/1.086, allocations: 334.8 kB / 1.221 GB, free: 0.5898 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001769/1.086, allocations: 115.9 kB / 1.221 GB, free: 488 kB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002119/1.087, allocations: 165.9 kB / 1.221 GB, free: 300 kB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000407/1.087, allocations: 294.8 kB / 1.221 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/1.087, allocations: 4 kB / 1.221 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007731/1.088, allocations: 413.2 kB / 1.222 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/1.088, allocations: 11.94 kB / 1.222 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/1.088, allocations: 0 / 1.222 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004291/1.088, allocations: 108.9 kB / 1.222 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002404/1.088, allocations: 47.91 kB / 1.222 GB, free: 15.4 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002059/1.091, allocations: 1.871 MB / 1.224 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002152/1.091, allocations: 16.02 kB / 1.224 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.612e-05/1.091, allocations: 16 kB / 1.224 GB, free: 13.36 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001615/1.091, allocations: 161.7 kB / 1.224 GB, free: 13.19 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.449e-05/1.091, allocations: 15.81 kB / 1.224 GB, free: 13.17 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004984/1.092, allocations: 293.8 kB / 1.224 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/1.092, allocations: 3.984 kB / 1.224 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/1.092, allocations: 4.188 kB / 1.224 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001127/1.092, allocations: 112.9 kB / 1.224 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.799e-05/1.092, allocations: 15.92 kB / 1.224 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001697/1.092, allocations: 15.98 kB / 1.224 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.744e-05/1.092, allocations: 7.984 kB / 1.224 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006983/1.093, allocations: 388.6 kB / 1.225 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006447/1.093, allocations: 0.5945 MB / 1.225 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001574/1.093, allocations: 116 kB / 1.225 GB, free: 11.6 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001434/1.094, allocations: 148 kB / 1.225 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of Backend: time 5.11e-07/1.094, allocations: 0 / 1.225 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.00128/1.095, allocations: 0.5166 MB / 1.226 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of SimCode: time 0.001233/1.096, allocations: 0.9871 MB / 1.227 GB, free: 9.887 MB / 0.9512 GB Notification: Performance of Templates: time 0.009412/1.106, allocations: 4.594 MB / 1.231 GB, free: 5.305 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches