Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.GeneralizedSensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.I|sen.V|loa.S.1.|loa.S.2.",fileNamePrefix="Buildings_9_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_9_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.001542/0.001542, allocations: 114 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.001664/0.001664, allocations: 183.9 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.443/1.443, allocations: 222.9 MB / 241 MB, free: 15.16 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.268/2.268, allocations: 390.3 MB / 0.6655 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00147/0.00147, allocations: 59.91 kB / 0.9515 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.128/1.13, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.005149/1.135, allocations: 3.077 MB / 1.092 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003085/1.138, allocations: 1.722 MB / 1.093 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001643/1.138, allocations: 12.66 kB / 1.093 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001094/1.139, allocations: 339.1 kB / 1.094 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000563/1.14, allocations: 209.5 kB / 1.094 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005267/1.14, allocations: 178.9 kB / 1.094 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004721/1.141, allocations: 315.1 kB / 1.094 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005172/1.141, allocations: 240.9 kB / 1.095 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002375/1.142, allocations: 139.1 kB / 1.095 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003795/1.142, allocations: 158.4 kB / 1.095 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.048e-05/1.142, allocations: 25.44 kB / 1.095 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005339/1.143, allocations: 240.8 kB / 1.095 GB, free: 1.449 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001703/1.143, allocations: 102 kB / 1.095 GB, free: 1.41 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000158/1.143, allocations: 129.1 kB / 1.095 GB, free: 1.332 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0007598/1.144, allocations: 418.1 kB / 1.096 GB, free: 1.203 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/1.144, allocations: 0.8438 kB / 1.096 GB, free: 1.203 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.024e-06/1.144, allocations: 0 / 1.096 GB, free: 1.203 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.216e-05/1.144, allocations: 0 / 1.096 GB, free: 1.203 MB / 0.8575 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.001048/1.145, allocations: 0.5513 MB / 1.096 GB, free: 0.7227 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.506e-05/1.145, allocations: 13.16 kB / 1.096 GB, free: 0.7188 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008103/1.146, allocations: 91.94 kB / 1.096 GB, free: 0.7031 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003726/1.146, allocations: 259.9 kB / 1.097 GB, free: 476 kB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.006e-05/1.146, allocations: 13.88 kB / 1.097 GB, free: 472 kB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001322/1.146, allocations: 29.77 kB / 1.097 GB, free: 460 kB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007398/1.147, allocations: 380.4 kB / 1.097 GB, free: 264 kB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.75e-05/1.147, allocations: 0.9062 kB / 1.097 GB, free: 264 kB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.557e-05/1.147, allocations: 6.594 kB / 1.097 GB, free: 260 kB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001259/1.147, allocations: 30.44 kB / 1.097 GB, free: 256 kB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000581/1.148, allocations: 305.5 kB / 1.097 GB, free: 148 kB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002266/1.15, allocations: 1.521 MB / 1.099 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005688/1.151, allocations: 239.1 kB / 1.099 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000228/1.151, allocations: 123.2 kB / 1.099 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001621/1.151, allocations: 89.48 kB / 1.099 GB, free: 14.63 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.752e-05/1.151, allocations: 36.92 kB / 1.099 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=18): time 1.783e-06/1.151, allocations: 1.094 kB / 1.099 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of matching and sorting (n=19): time 0.001572/1.153, allocations: 0.7889 MB / 1.1 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.44e-05/1.153, allocations: 62.12 kB / 1.1 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002314/1.153, allocations: 194.8 kB / 1.1 GB, free: 13.9 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.37e-05/1.153, allocations: 31.77 kB / 1.1 GB, free: 13.87 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001336/1.153, allocations: 161.4 kB / 1.1 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 7.461e-05/1.153, allocations: 65 kB / 1.101 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001168/1.153, allocations: 54.75 kB / 1.101 GB, free: 13.64 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001567/1.154, allocations: 331.6 kB / 1.101 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002172/1.154, allocations: 115.1 kB / 1.101 GB, free: 13.28 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003225/1.154, allocations: 168.2 kB / 1.101 GB, free: 13.18 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005142/1.155, allocations: 298.4 kB / 1.101 GB, free: 13.02 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/1.155, allocations: 1.422 kB / 1.101 GB, free: 13.02 MB / 0.8731 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000897/1.156, allocations: 415 kB / 1.102 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.505e-05/1.156, allocations: 10.62 kB / 1.102 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/1.156, allocations: 5.781 kB / 1.102 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004689/1.156, allocations: 96.14 kB / 1.102 GB, free: 12.81 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002819/1.156, allocations: 52.03 kB / 1.102 GB, free: 12.81 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002438/1.159, allocations: 1.879 MB / 1.104 GB, free: 11.22 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002386/1.159, allocations: 16.41 kB / 1.104 GB, free: 11.22 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.718e-05/1.159, allocations: 12.56 kB / 1.104 GB, free: 11.21 MB / 0.8731 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.0002925/1.159, allocations: 157.5 kB / 1.104 GB, free: 11.08 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.391e-05/1.159, allocations: 17.19 kB / 1.104 GB, free: 11.07 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007363/1.16, allocations: 300.5 kB / 1.104 GB, free: 10.94 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/1.16, allocations: 1.844 kB / 1.104 GB, free: 10.94 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/1.16, allocations: 0 / 1.104 GB, free: 10.94 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001548/1.16, allocations: 114.7 kB / 1.104 GB, free: 10.83 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.984e-05/1.16, allocations: 10.34 kB / 1.104 GB, free: 10.82 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001967/1.161, allocations: 14.39 kB / 1.104 GB, free: 10.82 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.205e-05/1.161, allocations: 11.41 kB / 1.104 GB, free: 10.82 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008702/1.162, allocations: 387.6 kB / 1.105 GB, free: 10.63 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007957/1.162, allocations: 0.5839 MB / 1.105 GB, free: 10.28 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002004/1.163, allocations: 127.2 kB / 1.106 GB, free: 10.23 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001764/1.163, allocations: 142.4 kB / 1.106 GB, free: 10.14 MB / 0.8731 GB Notification: Performance of Backend: time 5.91e-07/1.163, allocations: 0 / 1.106 GB, free: 10.14 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001464/1.164, allocations: 0.5346 MB / 1.106 GB, free: 9.844 MB / 0.8731 GB Notification: Performance of SimCode: time 0.001346/1.166, allocations: 0.9804 MB / 1.107 GB, free: 9.031 MB / 0.8731 GB Notification: Performance of Templates: time 0.0136/1.179, allocations: 4.511 MB / 1.112 GB, free: 8.652 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches