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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009345/0.0009345, allocations: 91.45 kB / 15.36 MB, free: 0.7383 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.007568/0.007569, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.351/1.351, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.326/2.326, allocations: 390.9 MB / 0.6664 GB, free: 2.348 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003225/0.0003225, allocations: 8 kB / 0.8161 GB, free: 13.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7217/0.7221, allocations: 142.4 MB / 0.9552 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.002348/0.7244, allocations: 2.131 MB / 0.9573 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002027/0.7265, allocations: 1.556 MB / 0.9588 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.208e-05/0.7266, allocations: 6.469 kB / 0.9588 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000127/0.7267, allocations: 18.92 kB / 0.9588 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003535/0.7271, allocations: 138.4 kB / 0.9589 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003424/0.7274, allocations: 169.5 kB / 0.9591 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002859/0.7277, allocations: 323.3 kB / 0.9594 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004047/0.7281, allocations: 242.7 kB / 0.9596 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001222/0.7283, allocations: 70.08 kB / 0.9597 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002001/0.7285, allocations: 101 kB / 0.9598 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.942e-05/0.7285, allocations: 5.5 kB / 0.9598 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000321/0.7288, allocations: 246.2 kB / 0.96 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.295e-05/0.7289, allocations: 57.98 kB / 0.9601 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.915e-05/0.729, allocations: 94.41 kB / 0.9602 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003338/0.7293, allocations: 311.2 kB / 0.9605 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.7294, allocations: 0.75 kB / 0.9605 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.893e-06/0.7294, allocations: 0 / 0.9605 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.7294, allocations: 0.9375 kB / 0.9605 GB, free: 3.641 MB / 0.7169 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.0004969/0.7299, allocations: 452 kB / 0.9609 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.7299, allocations: 9.625 kB / 0.9609 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.321e-05/0.73, allocations: 48.42 kB / 0.961 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007225/0.7307, allocations: 89.77 kB / 0.9611 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001832/0.7309, allocations: 227.4 kB / 0.9613 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.539e-05/0.7309, allocations: 10.16 kB / 0.9613 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.106e-05/0.731, allocations: 12.56 kB / 0.9613 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004228/0.7314, allocations: 298.6 kB / 0.9616 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.7314, allocations: 1.125 kB / 0.9616 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.469e-05/0.7314, allocations: 5.969 kB / 0.9616 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.892e-05/0.7315, allocations: 17.41 kB / 0.9616 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003993/0.7319, allocations: 221.5 kB / 0.9618 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001429/0.7333, allocations: 1.611 MB / 0.9634 GB, free: 0.9766 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000337/0.7337, allocations: 321.2 kB / 0.9637 GB, free: 0.6758 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.752e-05/0.7338, allocations: 65.83 kB / 0.9638 GB, free: 0.6328 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.421e-05/0.7338, allocations: 1.375 kB / 0.9638 GB, free: 0.6328 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.734e-05/0.7338, allocations: 35.78 kB / 0.9638 GB, free: 0.5898 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.803e-06/0.7338, allocations: 3.984 kB / 0.9638 GB, free: 0.5859 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0005072/0.7343, allocations: 252 kB / 0.964 GB, free: 440 kB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.837e-05/0.7344, allocations: 82.23 kB / 0.9641 GB, free: 340 kB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002134/0.7346, allocations: 201.6 kB / 0.9643 GB, free: 188 kB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.242e-05/0.7346, allocations: 29.7 kB / 0.9643 GB, free: 152 kB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.29e-05/0.7347, allocations: 153.4 kB / 0.9645 GB, free: 4 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.834e-05/0.7348, allocations: 33.62 kB / 0.9645 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.232e-05/0.7348, allocations: 31.64 kB / 0.9645 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.7349, allocations: 322.6 kB / 0.9649 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001615/0.7351, allocations: 70.02 kB / 0.9649 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002183/0.7353, allocations: 164.4 kB / 0.9651 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003128/0.7356, allocations: 236.5 kB / 0.9653 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.7356, allocations: 5.281 kB / 0.9653 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004852/0.7361, allocations: 272.1 kB / 0.9656 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.000103/0.7362, allocations: 176.8 kB / 0.9657 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.7362, allocations: 4.375 kB / 0.9657 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.7363, allocations: 3.281 kB / 0.9657 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000249/0.7365, allocations: 55.09 kB / 0.9658 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.7365, allocations: 8.453 kB / 0.9658 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002431/0.7368, allocations: 20.08 kB / 0.9658 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.306e-05/0.7368, allocations: 12.84 kB / 0.9658 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 7.915e-06/0.7368, allocations: 3.562 kB / 0.9658 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003983/0.7372, allocations: 214.9 kB / 0.966 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.7373, allocations: 3.656 kB / 0.966 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.089e-06/0.7373, allocations: 3.469 kB / 0.9661 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001923/0.7375, allocations: 49.06 kB / 0.9661 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.7375, allocations: 4.281 kB / 0.9661 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00017/0.7376, allocations: 27.89 kB / 0.9661 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.788e-05/0.7377, allocations: 13.3 kB / 0.9661 GB, free: 14.71 MB / 0.7325 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.0001469/0.7378, allocations: 227.1 kB / 0.9664 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.408e-05/0.7379, allocations: 15.19 kB / 0.9664 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002234/0.7381, allocations: 148.3 kB / 0.9665 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.7381, allocations: 0 / 0.9665 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.7381, allocations: 7.438 kB / 0.9665 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/0.7381, allocations: 3.984 kB / 0.9665 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008847/0.739, allocations: 0.7168 MB / 0.9672 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.7391, allocations: 6.641 kB / 0.9672 GB, free: 13.74 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001065/0.7392, allocations: 26.86 kB / 0.9673 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.7392, allocations: 3.125 kB / 0.9673 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/0.7392, allocations: 7.844 kB / 0.9673 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.7392, allocations: 3 kB / 0.9673 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.7392, allocations: 3.969 kB / 0.9673 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002845/0.7395, allocations: 385.7 kB / 0.9676 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.441e-05/0.7396, allocations: 108 kB / 0.9677 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.882e-05/0.7396, allocations: 4.031 kB / 0.9677 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002018/0.7398, allocations: 22.98 kB / 0.9678 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.873e-05/0.7399, allocations: 17.8 kB / 0.9678 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.978e-06/0.7399, allocations: 4.875 kB / 0.9678 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001716/0.7401, allocations: 159.8 kB / 0.9679 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7401, allocations: 0 / 0.9679 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000495/0.7406, allocations: 70.23 kB / 0.968 GB, free: 13.11 MB / 0.7325 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.0005654/0.7411, allocations: 0.9196 MB / 0.9689 GB, free: 12.22 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004975/0.7417, allocations: 282.5 kB / 0.9692 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.7417, allocations: 1.094 kB / 0.9692 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 8.63e-05/0.7418, allocations: 61.62 kB / 0.9692 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004898/0.7423, allocations: 32.75 kB / 0.9693 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002537/0.7448, allocations: 2.421 MB / 0.9716 GB, free: 9.898 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002795/0.7451, allocations: 0.7349 MB / 0.9724 GB, free: 9.176 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002402/0.7453, allocations: 79.27 kB / 0.9724 GB, free: 9.141 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.559e-05/0.7454, allocations: 49.28 kB / 0.9725 GB, free: 9.105 MB / 0.7325 GB Notification: Performance of SimCode: time 2.4e-07/0.7454, allocations: 0 / 0.9725 GB, free: 9.105 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06519/0.8106, allocations: 3.381 MB / 0.9758 GB, free: 7.562 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002134/0.8109, allocations: 217.9 kB / 0.976 GB, free: 7.312 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.631/2.442, allocations: 0 / 0.976 GB, free: 7.312 MB / 0.7325 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource.fmu > 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