Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RL.i.1.|RL.i.2.|sen.V|sen.theta",fileNamePrefix="Buildings_10_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_10_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.001725/0.001725, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00196/0.00196, allocations: 195.7 kB / 16.14 MB, free: 6.629 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.588/1.588, allocations: 222.9 MB / 239.8 MB, free: 4.504 MB / 190.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.838/2.838, allocations: 437 MB / 0.7099 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002075/0.002075, allocations: 83.8 kB / 0.8686 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8144/0.8164, allocations: 151.6 MB / 1.017 GB, free: 2.906 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.004225/0.8207, allocations: 2.473 MB / 1.019 GB, free: 432 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002823/0.8236, allocations: 1.598 MB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001041/0.8237, allocations: 4 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0006613/0.8244, allocations: 155.5 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003768/0.8248, allocations: 143.4 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000469/0.8253, allocations: 163.6 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003661/0.8256, allocations: 323.1 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003148/0.826, allocations: 113 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001464/0.8261, allocations: 79.7 kB / 1.022 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002328/0.8264, allocations: 119.6 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.619e-05/0.8264, allocations: 8 kB / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004182/0.8268, allocations: 251.5 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.213e-05/0.8269, allocations: 59.86 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 9.775e-05/0.827, allocations: 71.61 kB / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004491/0.8275, allocations: 309.2 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.8275, allocations: 0 / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of FrontEnd: time 9.31e-07/0.8275, allocations: 3.938 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.8275, allocations: 0 / 1.022 GB, free: 13.04 MB / 0.7794 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.0008128/0.8283, allocations: 479.2 kB / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.8284, allocations: 8.031 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008452/0.8292, allocations: 92.53 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002979/0.8296, allocations: 228 kB / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/0.8296, allocations: 8.656 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.454e-05/0.8296, allocations: 16.38 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005595/0.8302, allocations: 291.6 kB / 1.023 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.669e-05/0.8302, allocations: 7.938 kB / 1.023 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.189e-05/0.8303, allocations: 4 kB / 1.023 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.858e-05/0.8303, allocations: 16.22 kB / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004674/0.8308, allocations: 230.1 kB / 1.024 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002152/0.8329, allocations: 1.603 MB / 1.025 GB, free: 9.836 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004456/0.8334, allocations: 319.3 kB / 1.026 GB, free: 9.469 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000116/0.8335, allocations: 69.62 kB / 1.026 GB, free: 9.395 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.563e-05/0.8336, allocations: 4 kB / 1.026 GB, free: 9.391 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.271e-05/0.8336, allocations: 38.56 kB / 1.026 GB, free: 9.344 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 4.608e-06/0.8336, allocations: 3.984 kB / 1.026 GB, free: 9.34 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10): time 0.0006432/0.8343, allocations: 248.8 kB / 1.026 GB, free: 9.09 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.011e-05/0.8343, allocations: 81.11 kB / 1.026 GB, free: 8.992 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002818/0.8346, allocations: 207.5 kB / 1.026 GB, free: 8.781 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.626e-05/0.8347, allocations: 33.7 kB / 1.026 GB, free: 8.742 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001186/0.8348, allocations: 155.6 kB / 1.026 GB, free: 8.582 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.652e-05/0.8348, allocations: 31.55 kB / 1.026 GB, free: 8.551 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001064/0.8349, allocations: 53.61 kB / 1.026 GB, free: 8.492 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002113/0.8352, allocations: 322.8 kB / 1.027 GB, free: 8.168 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001863/0.8354, allocations: 80.75 kB / 1.027 GB, free: 8.086 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002529/0.8356, allocations: 164.8 kB / 1.027 GB, free: 7.887 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003972/0.836, allocations: 234.9 kB / 1.027 GB, free: 7.617 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.836, allocations: 0 / 1.027 GB, free: 7.617 MB / 0.7794 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005667/0.8366, allocations: 273.2 kB / 1.027 GB, free: 7.344 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.8366, allocations: 8 kB / 1.027 GB, free: 7.336 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.8367, allocations: 7.938 kB / 1.027 GB, free: 7.328 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.241e-05/0.8367, allocations: 7.938 kB / 1.027 GB, free: 7.32 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003007/0.837, allocations: 51.91 kB / 1.028 GB, free: 7.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.412e-05/0.837, allocations: 7.984 kB / 1.028 GB, free: 7.262 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002666/0.8373, allocations: 24.27 kB / 1.028 GB, free: 7.238 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.461e-05/0.8373, allocations: 11.94 kB / 1.028 GB, free: 7.227 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002463/0.8376, allocations: 168.1 kB / 1.028 GB, free: 7.059 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002257/0.8378, allocations: 152.6 kB / 1.028 GB, free: 6.867 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003271/0.8381, allocations: 223.8 kB / 1.028 GB, free: 6.605 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.763e-06/0.8382, allocations: 0 / 1.028 GB, free: 6.605 MB / 0.7794 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0005001/0.8387, allocations: 253.5 kB / 1.028 GB, free: 6.352 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.058e-05/0.8387, allocations: 8.062 kB / 1.028 GB, free: 6.344 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.8387, allocations: 4 kB / 1.028 GB, free: 6.34 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.022e-06/0.8387, allocations: 4 kB / 1.028 GB, free: 6.336 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002167/0.8389, allocations: 51.91 kB / 1.028 GB, free: 6.285 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/0.8389, allocations: 7.938 kB / 1.028 GB, free: 6.277 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002327/0.8392, allocations: 23.83 kB / 1.028 GB, free: 6.254 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.393e-05/0.8392, allocations: 15.98 kB / 1.028 GB, free: 6.238 MB / 0.7794 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.0001428/0.8394, allocations: 196.2 kB / 1.029 GB, free: 6.039 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.122e-05/0.8394, allocations: 7.906 kB / 1.029 GB, free: 6.031 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003032/0.8397, allocations: 150.9 kB / 1.029 GB, free: 5.883 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.776e-06/0.8398, allocations: 7.938 kB / 1.029 GB, free: 5.875 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/0.8398, allocations: 3.984 kB / 1.029 GB, free: 5.871 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.8398, allocations: 0 / 1.029 GB, free: 5.871 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001102/0.8409, allocations: 0.7158 MB / 1.029 GB, free: 5.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.8409, allocations: 4 kB / 1.029 GB, free: 5.066 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001139/0.841, allocations: 23.92 kB / 1.03 GB, free: 5.043 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.067e-05/0.841, allocations: 4.469 kB / 1.03 GB, free: 5.039 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.697e-05/0.8411, allocations: 12 kB / 1.03 GB, free: 5.027 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/0.8411, allocations: 4 kB / 1.03 GB, free: 5.023 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.8411, allocations: 4 kB / 1.03 GB, free: 5.02 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004169/0.8415, allocations: 382.3 kB / 1.03 GB, free: 4.602 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001077/0.8416, allocations: 112.8 kB / 1.03 GB, free: 4.473 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.647e-05/0.8417, allocations: 4 kB / 1.03 GB, free: 4.469 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002216/0.8419, allocations: 15.98 kB / 1.03 GB, free: 4.453 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.924e-05/0.842, allocations: 19.86 kB / 1.03 GB, free: 4.434 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.287e-05/0.842, allocations: 8 kB / 1.03 GB, free: 4.426 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002229/0.8422, allocations: 152.9 kB / 1.03 GB, free: 4.277 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8422, allocations: 0 / 1.03 GB, free: 4.277 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0006116/0.8428, allocations: 68 kB / 1.03 GB, free: 4.211 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 simulation (11): * Single equations (assignments): 11 * 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 Backend phase and start with SimCode phase: time 0.0002471/0.8431, allocations: 111.8 kB / 1.03 GB, free: 4.09 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0007024/0.8438, allocations: 280.9 kB / 1.031 GB, free: 3.816 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 5.219e-06/0.8438, allocations: 3.938 kB / 1.031 GB, free: 3.812 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001128/0.8439, allocations: 67.83 kB / 1.031 GB, free: 3.746 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005784/0.8445, allocations: 27.98 kB / 1.031 GB, free: 3.719 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001132/0.8457, allocations: 479.4 kB / 1.031 GB, free: 3.195 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005147/0.8462, allocations: 0.7363 MB / 1.032 GB, free: 2.434 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0002853/0.8465, allocations: 81.48 kB / 1.032 GB, free: 2.355 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.872e-05/0.8466, allocations: 23.44 kB / 1.032 GB, free: 2.332 MB / 0.7794 GB Notification: Performance of SimCode: time 3.01e-07/0.8466, allocations: 0 / 1.032 GB, free: 2.332 MB / 0.7794 GB Notification: Performance of Templates: time 0.006112/0.8527, allocations: 1.815 MB / 1.034 GB, free: 0.5273 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches