Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.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.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RL.i.1.|RL.i.2.|sen.V|sen.theta",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RL.i.1.|RL.i.2.|sen.V|sen.theta",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001497/0.001497, allocations: 115.6 kB / 16.42 MB, free: 6.477 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.001714/0.001714, allocations: 183.9 kB / 17.35 MB, free: 5.746 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.446/1.446, allocations: 222.9 MB / 241.1 MB, free: 15.13 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.33/2.33, allocations: 390.2 MB / 0.6655 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001586/0.001586, allocations: 67.84 kB / 0.9515 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.247/1.249, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.006409/1.255, allocations: 2.428 MB / 1.091 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004154/1.26, allocations: 1.582 MB / 1.093 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001932/1.26, allocations: 2.906 kB / 1.093 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0009169/1.261, allocations: 172.2 kB / 1.093 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0006604/1.261, allocations: 162.7 kB / 1.093 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008232/1.262, allocations: 178.4 kB / 1.093 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004644/1.263, allocations: 216.4 kB / 1.093 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004124/1.263, allocations: 120.3 kB / 1.093 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002459/1.263, allocations: 93.16 kB / 1.093 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003416/1.264, allocations: 95.56 kB / 1.094 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.934e-05/1.264, allocations: 15.81 kB / 1.094 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006805/1.265, allocations: 213.7 kB / 1.094 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001482/1.265, allocations: 70.48 kB / 1.094 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001635/1.265, allocations: 75.36 kB / 1.094 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0007564/1.266, allocations: 310.2 kB / 1.094 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.745e-06/1.266, allocations: 0.7969 kB / 1.094 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.084e-06/1.266, allocations: 0.9062 kB / 1.094 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.787e-06/1.266, allocations: 0 / 1.094 GB, free: 2.051 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0009986/1.267, allocations: 474 kB / 1.095 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 7.708e-05/1.267, allocations: 9.547 kB / 1.095 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001129/1.268, allocations: 93.72 kB / 1.095 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003968/1.268, allocations: 227.1 kB / 1.095 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.97e-05/1.268, allocations: 10.28 kB / 1.095 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.888e-05/1.268, allocations: 13.47 kB / 1.095 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000762/1.269, allocations: 297.8 kB / 1.095 GB, free: 1.184 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.112e-05/1.269, allocations: 4.719 kB / 1.095 GB, free: 1.18 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.335e-05/1.269, allocations: 2.25 kB / 1.095 GB, free: 1.18 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.76e-05/1.269, allocations: 20.45 kB / 1.095 GB, free: 1.172 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000698/1.27, allocations: 227.2 kB / 1.095 GB, free: 1.098 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002638/1.273, allocations: 1.589 MB / 1.097 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007006/1.273, allocations: 319.2 kB / 1.097 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001838/1.274, allocations: 64.69 kB / 1.097 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.151e-05/1.274, allocations: 0.875 kB / 1.097 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.92e-05/1.274, allocations: 37.58 kB / 1.097 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=9): time 2.485e-06/1.274, allocations: 0 / 1.097 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of matching and sorting (n=10): time 0.001007/1.275, allocations: 250.7 kB / 1.098 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.34e-05/1.275, allocations: 79.06 kB / 1.098 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004659/1.275, allocations: 205.4 kB / 1.098 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.83e-05/1.275, allocations: 25.7 kB / 1.098 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001812/1.276, allocations: 162.5 kB / 1.098 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 9.995e-05/1.276, allocations: 32.78 kB / 1.098 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001788/1.276, allocations: 54.81 kB / 1.098 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001892/1.276, allocations: 330.6 kB / 1.099 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003205/1.276, allocations: 79.86 kB / 1.099 GB, free: 14.42 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004519/1.277, allocations: 165.6 kB / 1.099 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006472/1.278, allocations: 230.1 kB / 1.099 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/1.278, allocations: 5.453 kB / 1.099 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001031/1.279, allocations: 267.1 kB / 1.099 GB, free: 14 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.955e-05/1.279, allocations: 6.531 kB / 1.099 GB, free: 14 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.73e-05/1.279, allocations: 3.344 kB / 1.099 GB, free: 14 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.453e-05/1.279, allocations: 13.41 kB / 1.099 GB, free: 13.99 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004906/1.279, allocations: 61.14 kB / 1.099 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.559e-05/1.279, allocations: 8.672 kB / 1.099 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000452/1.28, allocations: 21.62 kB / 1.099 GB, free: 13.97 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.532e-05/1.28, allocations: 10.59 kB / 1.099 GB, free: 13.97 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004673/1.28, allocations: 166.6 kB / 1.1 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004007/1.281, allocations: 164.1 kB / 1.1 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005619/1.281, allocations: 222.8 kB / 1.1 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.617e-06/1.281, allocations: 1.5 kB / 1.1 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0009414/1.282, allocations: 246 kB / 1.1 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.841e-05/1.282, allocations: 7.281 kB / 1.1 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/1.282, allocations: 6.312 kB / 1.1 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.553e-05/1.282, allocations: 4.688 kB / 1.1 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003658/1.283, allocations: 54.22 kB / 1.1 GB, free: 13.42 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.79e-05/1.283, allocations: 14.22 kB / 1.1 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003851/1.283, allocations: 22.34 kB / 1.1 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.623e-05/1.283, allocations: 13.97 kB / 1.1 GB, free: 13.4 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (25): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002997/1.284, allocations: 195.4 kB / 1.1 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001157/1.284, allocations: 15.52 kB / 1.1 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004649/1.284, allocations: 142.5 kB / 1.101 GB, free: 13.13 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.126e-05/1.284, allocations: 4.594 kB / 1.101 GB, free: 13.13 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/1.284, allocations: 0.8438 kB / 1.101 GB, free: 13.13 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001589/1.284, allocations: 102.5 kB / 1.101 GB, free: 13.02 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.372e-05/1.284, allocations: 10.62 kB / 1.101 GB, free: 13.02 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003747/1.285, allocations: 15.81 kB / 1.101 GB, free: 13.02 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.831e-05/1.285, allocations: 10.34 kB / 1.101 GB, free: 13.01 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005212/1.285, allocations: 297.1 kB / 1.101 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005494/1.286, allocations: 393.9 kB / 1.101 GB, free: 12.47 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001442/1.286, allocations: 47.98 kB / 1.101 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004263/1.287, allocations: 163.7 kB / 1.102 GB, free: 12.35 MB / 0.8731 GB Notification: Performance of Backend: time 9.22e-07/1.287, allocations: 3.938 kB / 1.102 GB, free: 12.35 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002059/1.289, allocations: 413.4 kB / 1.102 GB, free: 12.19 MB / 0.8731 GB Notification: Performance of SimCode: time 0.001484/1.29, allocations: 0.7809 MB / 1.103 GB, free: 11.5 MB / 0.8731 GB Notification: Performance of Templates: time 0.01499/1.305, allocations: 3.979 MB / 1.107 GB, free: 11.16 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches