Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.GeneralizedSensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.I|sen.V|loa.S.1.|loa.S.2.",fileNamePrefix="Buildings_10_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_10_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.001488/0.001488, allocations: 111.1 kB / 16.42 MB, free: 6.496 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.001629/0.001629, allocations: 188.3 kB / 17.35 MB, free: 5.762 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.5/1.5, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.649/2.649, allocations: 437 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001458, allocations: 60.12 kB / 1.019 GB, free: 9.398 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.027/1.028, allocations: 151.6 MB / 1.167 GB, free: 3.844 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.004849/1.033, allocations: 3.083 MB / 1.17 GB, free: 0.75 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002813/1.036, allocations: 1.726 MB / 1.172 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001231/1.036, allocations: 8 kB / 1.172 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001043/1.037, allocations: 330.7 kB / 1.172 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0005106/1.038, allocations: 215.1 kB / 1.173 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004478/1.038, allocations: 177.1 kB / 1.173 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0003661/1.039, allocations: 315 kB / 1.173 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004446/1.039, allocations: 248.5 kB / 1.173 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002058/1.039, allocations: 135.5 kB / 1.173 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003595/1.04, allocations: 159.4 kB / 1.173 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 4.203e-05/1.04, allocations: 23.94 kB / 1.174 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004127/1.04, allocations: 251.5 kB / 1.174 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001282/1.04, allocations: 111.7 kB / 1.174 GB, free: 13.08 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001392/1.04, allocations: 115.5 kB / 1.174 GB, free: 12.97 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0005277/1.041, allocations: 420.6 kB / 1.174 GB, free: 12.56 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.795e-06/1.041, allocations: 7.938 kB / 1.174 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.633e-06/1.041, allocations: 0 / 1.174 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 7.524e-06/1.041, allocations: 4 kB / 1.174 GB, free: 12.55 MB / 0.9044 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.001027/1.042, allocations: 0.5342 MB / 1.175 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.86e-05/1.042, allocations: 12.03 kB / 1.175 GB, free: 11.95 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000766/1.043, allocations: 96.45 kB / 1.175 GB, free: 11.86 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00035/1.043, allocations: 250.2 kB / 1.175 GB, free: 11.58 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.574e-05/1.043, allocations: 28.8 kB / 1.175 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001042/1.043, allocations: 24.47 kB / 1.175 GB, free: 11.53 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005644/1.044, allocations: 377.1 kB / 1.176 GB, free: 11.14 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/1.044, allocations: 0 / 1.176 GB, free: 11.14 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.38e-05/1.044, allocations: 12 kB / 1.176 GB, free: 11.12 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.894e-05/1.044, allocations: 24.42 kB / 1.176 GB, free: 11.1 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004608/1.045, allocations: 313.5 kB / 1.176 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001793/1.046, allocations: 1.529 MB / 1.177 GB, free: 9.113 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004208/1.047, allocations: 230.3 kB / 1.178 GB, free: 8.879 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000146/1.047, allocations: 116.8 kB / 1.178 GB, free: 8.762 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001409/1.047, allocations: 85.09 kB / 1.178 GB, free: 8.66 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.181e-05/1.047, allocations: 38.56 kB / 1.178 GB, free: 8.613 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=18): time 1.533e-06/1.047, allocations: 4 kB / 1.178 GB, free: 8.609 MB / 0.9044 GB Notification: Performance of matching and sorting (n=19): time 0.001227/1.048, allocations: 0.7812 MB / 1.179 GB, free: 7.777 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.262e-05/1.048, allocations: 55.41 kB / 1.179 GB, free: 7.711 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001851/1.049, allocations: 195.6 kB / 1.179 GB, free: 7.512 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.803e-05/1.049, allocations: 25.7 kB / 1.179 GB, free: 7.48 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 9.58e-05/1.049, allocations: 159.9 kB / 1.179 GB, free: 7.32 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 5.659e-05/1.049, allocations: 71 kB / 1.179 GB, free: 7.25 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.339e-05/1.049, allocations: 65.59 kB / 1.179 GB, free: 7.18 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001111/1.049, allocations: 326.8 kB / 1.18 GB, free: 6.852 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001702/1.049, allocations: 115.9 kB / 1.18 GB, free: 6.738 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002083/1.049, allocations: 167.5 kB / 1.18 GB, free: 6.555 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003708/1.05, allocations: 292.6 kB / 1.18 GB, free: 6.25 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/1.05, allocations: 4 kB / 1.18 GB, free: 6.246 MB / 0.9044 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.00073/1.051, allocations: 416.4 kB / 1.181 GB, free: 5.832 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/1.051, allocations: 7.938 kB / 1.181 GB, free: 5.824 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/1.051, allocations: 4 kB / 1.181 GB, free: 5.82 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000416/1.051, allocations: 108.9 kB / 1.181 GB, free: 5.711 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002496/1.051, allocations: 59.84 kB / 1.181 GB, free: 5.652 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001919/1.053, allocations: 1.871 MB / 1.183 GB, free: 3.637 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002076/1.053, allocations: 15.98 kB / 1.183 GB, free: 3.621 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.398e-05/1.053, allocations: 19.88 kB / 1.183 GB, free: 3.602 MB / 0.9044 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.0001627/1.054, allocations: 159.7 kB / 1.183 GB, free: 3.438 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.948e-05/1.054, allocations: 15.81 kB / 1.183 GB, free: 3.422 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004748/1.054, allocations: 297.8 kB / 1.183 GB, free: 3.125 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/1.054, allocations: 0 / 1.183 GB, free: 3.125 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/1.054, allocations: 4 kB / 1.183 GB, free: 3.121 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00012/1.054, allocations: 116.8 kB / 1.183 GB, free: 2.988 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.334e-05/1.054, allocations: 7.938 kB / 1.183 GB, free: 2.98 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001715/1.055, allocations: 19.97 kB / 1.183 GB, free: 2.961 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.03e-05/1.055, allocations: 11.98 kB / 1.183 GB, free: 2.949 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006883/1.055, allocations: 388.7 kB / 1.184 GB, free: 2.562 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005978/1.056, allocations: 0.59 MB / 1.184 GB, free: 1.957 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001534/1.056, allocations: 116 kB / 1.184 GB, free: 1.844 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001171/1.056, allocations: 152.6 kB / 1.184 GB, free: 1.691 MB / 0.9044 GB Notification: Performance of Backend: time 9.51e-07/1.056, allocations: 0 / 1.184 GB, free: 1.691 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001241/1.057, allocations: 0.5201 MB / 1.185 GB, free: 1.148 MB / 0.9044 GB Notification: Performance of SimCode: time 0.001175/1.059, allocations: 0.9894 MB / 1.186 GB, free: 112 kB / 0.9044 GB Notification: Performance of Templates: time 0.008463/1.067, allocations: 4.523 MB / 1.19 GB, free: 11.6 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.makefile (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches