Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",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.0007462/0.0007463, allocations: 91.38 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.004472/0.004472, allocations: 172.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.285/1.285, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.415/2.415, allocations: 437.8 MB / 0.7121 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003955/0.0003957, allocations: 8 kB / 0.873 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.586/0.5865, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.00383/0.5903, allocations: 3.405 MB / 1.026 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002629/0.593, allocations: 1.774 MB / 1.028 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002494/0.5933, allocations: 15.88 kB / 1.028 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002052/0.5935, allocations: 59.5 kB / 1.028 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0006717/0.5942, allocations: 278.7 kB / 1.029 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005608/0.5947, allocations: 228.8 kB / 1.029 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0007182/0.5955, allocations: 0.7375 MB / 1.029 GB, free: 9.324 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006235/0.5961, allocations: 366.7 kB / 1.03 GB, free: 8.945 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002801/0.5964, allocations: 207 kB / 1.03 GB, free: 8.742 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002747/0.5967, allocations: 211.1 kB / 1.03 GB, free: 8.535 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.375e-05/0.5967, allocations: 16 kB / 1.03 GB, free: 8.52 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000491/0.5972, allocations: 343.3 kB / 1.031 GB, free: 8.184 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001222/0.5973, allocations: 115.6 kB / 1.031 GB, free: 8.07 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.000179/0.5975, allocations: 216.5 kB / 1.031 GB, free: 7.852 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005381/0.5981, allocations: 0.586 MB / 1.031 GB, free: 7.266 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.5981, allocations: 4 kB / 1.031 GB, free: 7.262 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.633e-06/0.5981, allocations: 0 / 1.031 GB, free: 7.262 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.5981, allocations: 0 / 1.031 GB, free: 7.262 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.000944/0.599, allocations: 0.6585 MB / 1.032 GB, free: 6.555 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.5991, allocations: 12.03 kB / 1.032 GB, free: 6.543 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.615e-05/0.5992, allocations: 70.7 kB / 1.032 GB, free: 6.465 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008071/0.6, allocations: 136.2 kB / 1.032 GB, free: 6.332 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004239/0.6004, allocations: 383.5 kB / 1.033 GB, free: 5.918 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.01e-05/0.6004, allocations: 21.03 kB / 1.033 GB, free: 5.898 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.54e-05/0.6005, allocations: 36.3 kB / 1.033 GB, free: 5.863 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007428/0.6012, allocations: 0.5548 MB / 1.033 GB, free: 5.234 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.694e-05/0.6013, allocations: 4 kB / 1.033 GB, free: 5.23 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.444e-05/0.6013, allocations: 15.98 kB / 1.033 GB, free: 5.215 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.406e-05/0.6014, allocations: 44.47 kB / 1.033 GB, free: 5.172 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006597/0.602, allocations: 421.8 kB / 1.034 GB, free: 4.762 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002374/0.6044, allocations: 3.333 MB / 1.037 GB, free: 1.176 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000605/0.605, allocations: 346.4 kB / 1.037 GB, free: 0.8281 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002824/0.6053, allocations: 186.1 kB / 1.037 GB, free: 0.6445 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.6054, allocations: 0 / 1.037 GB, free: 0.6445 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.911e-05/0.6054, allocations: 38.56 kB / 1.038 GB, free: 0.5977 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=26): time 1.102e-06/0.6054, allocations: 4 kB / 1.038 GB, free: 0.5938 MB / 0.7794 GB Notification: Performance of matching and sorting (n=27): time 0.001889/0.6073, allocations: 1.079 MB / 1.039 GB, free: 15.45 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.9e-05/0.6073, allocations: 55.64 kB / 1.039 GB, free: 15.38 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000293/0.6076, allocations: 349.5 kB / 1.039 GB, free: 15.03 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.168e-05/0.6077, allocations: 25.7 kB / 1.039 GB, free: 15 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001313/0.6078, allocations: 243.6 kB / 1.039 GB, free: 14.76 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 6.478e-05/0.6079, allocations: 102.6 kB / 1.039 GB, free: 14.66 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.135e-05/0.6079, allocations: 37.7 kB / 1.039 GB, free: 14.61 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001019/0.608, allocations: 346.8 kB / 1.04 GB, free: 14.27 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002614/0.6083, allocations: 152.8 kB / 1.04 GB, free: 14.12 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003309/0.6086, allocations: 302.5 kB / 1.04 GB, free: 13.76 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006204/0.6093, allocations: 488.6 kB / 1.041 GB, free: 13.22 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.6093, allocations: 0 / 1.041 GB, free: 13.22 MB / 0.795 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009052/0.6102, allocations: 0.5817 MB / 1.041 GB, free: 12.62 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.6102, allocations: 9.719 kB / 1.041 GB, free: 12.62 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.333e-06/0.6102, allocations: 4 kB / 1.041 GB, free: 12.61 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002744/0.6105, allocations: 86.52 kB / 1.041 GB, free: 12.52 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003376/0.6109, allocations: 87.88 kB / 1.041 GB, free: 12.43 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.282e-05/0.6109, allocations: 16 kB / 1.041 GB, free: 12.42 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002524/0.6111, allocations: 35.97 kB / 1.041 GB, free: 12.38 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.516e-05/0.6112, allocations: 16 kB / 1.041 GB, free: 12.37 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001674/0.6114, allocations: 174.2 kB / 1.042 GB, free: 12.19 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.086e-05/0.6114, allocations: 39.53 kB / 1.042 GB, free: 12.15 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008391/0.6123, allocations: 479.9 kB / 1.042 GB, free: 11.66 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.6123, allocations: 7.938 kB / 1.042 GB, free: 11.66 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.6123, allocations: 0 / 1.042 GB, free: 11.66 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.6123, allocations: 3.984 kB / 1.042 GB, free: 11.65 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001294/0.6136, allocations: 0.9676 MB / 1.043 GB, free: 10.61 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.6136, allocations: 8.094 kB / 1.043 GB, free: 10.6 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002291/0.6139, allocations: 55.89 kB / 1.043 GB, free: 10.55 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002275/0.6141, allocations: 86.48 kB / 1.043 GB, free: 10.45 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.91e-05/0.6141, allocations: 4 kB / 1.043 GB, free: 10.45 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.6141, allocations: 4 kB / 1.043 GB, free: 10.45 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.6141, allocations: 0 / 1.043 GB, free: 10.45 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007776/0.6149, allocations: 0.5546 MB / 1.044 GB, free: 9.855 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000127/0.6151, allocations: 136.6 kB / 1.044 GB, free: 9.703 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.494e-05/0.6151, allocations: 11.94 kB / 1.044 GB, free: 9.691 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000224/0.6153, allocations: 31.81 kB / 1.044 GB, free: 9.66 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.455e-05/0.6154, allocations: 23.91 kB / 1.044 GB, free: 9.637 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.482e-05/0.6154, allocations: 8 kB / 1.044 GB, free: 9.629 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0002012/0.6156, allocations: 239.2 kB / 1.044 GB, free: 9.395 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.81e-07/0.6157, allocations: 0 / 1.044 GB, free: 9.395 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003822/0.616, allocations: 87.98 kB / 1.044 GB, free: 9.309 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001014/0.6171, allocations: 1.104 MB / 1.045 GB, free: 8.16 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0008082/0.6179, allocations: 0.645 MB / 1.046 GB, free: 7.453 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.6179, allocations: 0 / 1.046 GB, free: 7.453 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0004083/0.6183, allocations: 433.7 kB / 1.046 GB, free: 6.965 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007455/0.6191, allocations: 116.5 kB / 1.046 GB, free: 6.855 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004465/0.6235, allocations: 3.947 MB / 1.05 GB, free: 2.664 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000346/0.6239, allocations: 0.8231 MB / 1.051 GB, free: 1.816 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002457/0.6242, allocations: 83.34 kB / 1.051 GB, free: 1.734 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000159/0.6243, allocations: 123.4 kB / 1.051 GB, free: 1.613 MB / 0.795 GB Notification: Performance of SimCode: time 3.01e-07/0.6243, allocations: 0 / 1.051 GB, free: 1.613 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01892/0.6433, allocations: 7.793 MB / 1.059 GB, free: 10.06 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002069/0.6435, allocations: 236.2 kB / 1.059 GB, free: 9.812 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.765/2.409, allocations: 4.062 kB / 1.059 GB, free: 9.809 MB / 0.8106 GB (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.fmu > Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches